diff --git a/test/game/components/controlled_flipper_test.dart b/test/game/components/controlled_flipper_test.dart index 01982129..70c5ef8f 100644 --- a/test/game/components/controlled_flipper_test.dart +++ b/test/game/components/controlled_flipper_test.dart @@ -19,6 +19,7 @@ void main() { final bloc = MockGameBloc(); const state = GameState( score: 0, + multiplier: 1, balls: 0, bonusHistory: [], ); diff --git a/test/game/components/controlled_plunger_test.dart b/test/game/components/controlled_plunger_test.dart index eee2bcb0..ede76843 100644 --- a/test/game/components/controlled_plunger_test.dart +++ b/test/game/components/controlled_plunger_test.dart @@ -20,6 +20,7 @@ void main() { final bloc = MockGameBloc(); const state = GameState( score: 0, + multiplier: 1, balls: 0, bonusHistory: [], ); diff --git a/test/game/components/game_flow_controller_test.dart b/test/game/components/game_flow_controller_test.dart index b9a6181a..f72b6d77 100644 --- a/test/game/components/game_flow_controller_test.dart +++ b/test/game/components/game_flow_controller_test.dart @@ -14,6 +14,7 @@ void main() { test('is true when the game over state has changed', () { final state = GameState( score: 10, + multiplier: 1, balls: 0, bonusHistory: const [], ); @@ -63,6 +64,7 @@ void main() { gameFlowController.onNewState( GameState( score: 10, + multiplier: 1, balls: 0, bonusHistory: const [], ), diff --git a/test/game/components/score_effect_controller_test.dart b/test/game/components/score_effect_controller_test.dart index b5c76dc6..14fd7b86 100644 --- a/test/game/components/score_effect_controller_test.dart +++ b/test/game/components/score_effect_controller_test.dart @@ -29,6 +29,7 @@ void main() { const previous = GameState.initial(); const current = GameState( score: 10, + multiplier: 1, balls: 3, bonusHistory: [], ); @@ -41,6 +42,7 @@ void main() { () { const current = GameState( score: 10, + multiplier: 1, balls: 3, bonusHistory: [], ); @@ -65,6 +67,7 @@ void main() { () { const state = GameState( score: 10, + multiplier: 1, balls: 3, bonusHistory: [], ); @@ -82,6 +85,7 @@ void main() { controller.onNewState( const GameState( score: 10, + multiplier: 1, balls: 3, bonusHistory: [], ), @@ -90,6 +94,7 @@ void main() { controller.onNewState( const GameState( score: 14, + multiplier: 1, balls: 3, bonusHistory: [], ), diff --git a/test/game/view/game_hud_test.dart b/test/game/view/game_hud_test.dart index cdc56832..88762b98 100644 --- a/test/game/view/game_hud_test.dart +++ b/test/game/view/game_hud_test.dart @@ -11,6 +11,7 @@ void main() { late GameBloc gameBloc; const initialState = GameState( score: 10, + multiplier: 1, balls: 2, bonusHistory: [], );