Trying to fix export ci, try 1. (#4038)
This commit is contained in:
parent
9e099726e6
commit
3be56ef2e0
1 changed files with 4 additions and 3 deletions
|
@ -377,13 +377,14 @@ mod tests {
|
||||||
import_settings(backup, import_user.clone(), context.reset_request_count())
|
import_settings(backup, import_user.clone(), context.reset_request_count())
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let import_user_updated = LocalUserView::read(&mut context.pool(), import_user.local_user.id)
|
|
||||||
.await
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
// wait for background task to finish
|
// wait for background task to finish
|
||||||
sleep(Duration::from_millis(100)).await;
|
sleep(Duration::from_millis(100)).await;
|
||||||
|
|
||||||
|
let import_user_updated = LocalUserView::read(&mut context.pool(), import_user.local_user.id)
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
export_user.person.display_name,
|
export_user.person.display_name,
|
||||||
import_user_updated.person.display_name
|
import_user_updated.person.display_name
|
||||||
|
|
Loading…
Reference in a new issue