From 5f9fa51026d693f8bd3fbe6b4e42784102ac28e1 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Tue, 19 Jul 2022 10:51:32 +0200 Subject: [PATCH] Fix missing limits field in tests (#1973) --- rslib/src/tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rslib/src/tests.rs b/rslib/src/tests.rs index 405e7c9e1..4c8cad417 100644 --- a/rslib/src/tests.rs +++ b/rslib/src/tests.rs @@ -9,6 +9,7 @@ use crate::{ collection::{open_test_collection, CollectionBuilder}, deckconfig::UpdateDeckConfigsRequest, media::MediaManager, + pb::deck_configs_for_update::current_deck::Limits, prelude::*, }; @@ -110,6 +111,7 @@ impl Collection { removed_config_ids: vec![], apply_to_children: false, card_state_customizer: "".to_string(), + limits: Limits::default(), }) .unwrap(); }