mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 08:32:02 +00:00
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())
|
||||
.await
|
||||
.unwrap();
|
||||
let import_user_updated = LocalUserView::read(&mut context.pool(), import_user.local_user.id)
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
// wait for background task to finish
|
||||
sleep(Duration::from_millis(100)).await;
|
||||
|
||||
let import_user_updated = LocalUserView::read(&mut context.pool(), import_user.local_user.id)
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(
|
||||
export_user.person.display_name,
|
||||
import_user_updated.person.display_name
|
||||
|
|
Loading…
Reference in a new issue