mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix flaky tests (#3724)
This commit is contained in:
parent
2a1448bc45
commit
e98a597b4d
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ pub(crate) fn open_test_collection_with_learning_card() -> Collection {
|
|||
let mut col = Collection::new();
|
||||
NoteAdder::basic(&mut col).add(&mut col);
|
||||
col.answer_again();
|
||||
col.clear_study_queues();
|
||||
col
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,7 @@ pub(crate) fn open_test_collection_with_relearning_card() -> Collection {
|
|||
.unwrap();
|
||||
col.clear_study_queues();
|
||||
col.answer_again();
|
||||
col.clear_study_queues();
|
||||
col
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue