fix: candidate tests json

This commit is contained in:
Sebastian Pravda 2022-10-30 13:06:07 +01:00
parent 2aa0330d8c
commit 79ab4d0ed4
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -118,7 +118,7 @@ mod tests {
let db = get_memory_sqlite_connection().await;
let form = serde_json::from_value(json!({
"application": 5555555,
"application_id": 5555555,
})).unwrap();
let candidate = Mutation::create_candidate(&db, form, &SECRET.to_string(), "".to_string()).await.unwrap();
@ -133,7 +133,7 @@ mod tests {
let db = &get_memory_sqlite_connection().await;
let form = serde_json::from_value(json!({
"application": 5555555,
"application_id": 5555555,
})).unwrap();
Mutation::create_candidate(&db, form, &"Tajny_kod".to_string(), "".to_string()).await.unwrap();
@ -160,7 +160,7 @@ mod tests {
let db = &get_memory_sqlite_connection().await;
let form = serde_json::from_value(json!({
"application": 5555555,
"application_id": 5555555,
})).unwrap();
let candidate_form = Mutation::create_candidate(&db, form, &"Tajny_kod".to_string(), "".to_string()).await.unwrap();