mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-20 06:51:10 +00:00
fix: candidate tests json
This commit is contained in:
parent
2aa0330d8c
commit
79ab4d0ed4
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue