mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Fix missing limits field in tests (#1973)
This commit is contained in:
parent
cc929687ae
commit
5f9fa51026
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ use crate::{
|
||||||
collection::{open_test_collection, CollectionBuilder},
|
collection::{open_test_collection, CollectionBuilder},
|
||||||
deckconfig::UpdateDeckConfigsRequest,
|
deckconfig::UpdateDeckConfigsRequest,
|
||||||
media::MediaManager,
|
media::MediaManager,
|
||||||
|
pb::deck_configs_for_update::current_deck::Limits,
|
||||||
prelude::*,
|
prelude::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -110,6 +111,7 @@ impl Collection {
|
||||||
removed_config_ids: vec![],
|
removed_config_ids: vec![],
|
||||||
apply_to_children: false,
|
apply_to_children: false,
|
||||||
card_state_customizer: "".to_string(),
|
card_state_customizer: "".to_string(),
|
||||||
|
limits: Limits::default(),
|
||||||
})
|
})
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue