Fix missing limits field in tests (#1973)

This commit is contained in:
RumovZ 2022-07-19 10:51:32 +02:00 committed by GitHub
parent cc929687ae
commit 5f9fa51026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
} }