diff --git a/test/game/bloc/game_bloc_test.dart b/test/game/bloc/game_bloc_test.dart index 8c46a52c..2d385ba4 100644 --- a/test/game/bloc/game_bloc_test.dart +++ b/test/game/bloc/game_bloc_test.dart @@ -85,14 +85,14 @@ void main() { score: 2, multiplier: 1, balls: 1, - rounds: 1, + rounds: 3, bonusHistory: [], ), const GameState( score: 5, multiplier: 1, balls: 1, - rounds: 1, + rounds: 3, bonusHistory: [], ), ], @@ -146,14 +146,14 @@ void main() { const GameState( score: 0, multiplier: 2, - balls: 3, + balls: 1, rounds: 3, bonusHistory: [], ), const GameState( score: 0, multiplier: 3, - balls: 3, + balls: 1, rounds: 3, bonusHistory: [], ), @@ -167,7 +167,7 @@ void main() { seed: () => const GameState( score: 0, multiplier: 5, - balls: 3, + balls: 1, rounds: 3, bonusHistory: [], ), @@ -178,7 +178,7 @@ void main() { const GameState( score: 0, multiplier: 6, - balls: 3, + balls: 1, rounds: 3, bonusHistory: [], ), @@ -199,7 +199,7 @@ void main() { const GameState( score: 0, multiplier: 1, - balls: 2, + balls: 1, rounds: 2, bonusHistory: [], ), @@ -213,7 +213,7 @@ void main() { const GameState( score: 0, multiplier: 1, - balls: 0, + balls: 1, rounds: 0, bonusHistory: [], ), @@ -259,8 +259,8 @@ void main() { GameState( score: 0, multiplier: 1, - balls: 3, - rounds: 2, + balls: 1, + rounds: 3, bonusHistory: [GameBonus.sparkyTurboCharge], ), ], diff --git a/test/game/components/controlled_flipper_test.dart b/test/game/components/controlled_flipper_test.dart index 0c645b22..e754c395 100644 --- a/test/game/components/controlled_flipper_test.dart +++ b/test/game/components/controlled_flipper_test.dart @@ -25,7 +25,7 @@ void main() { score: 0, multiplier: 1, balls: 0, - rounds: 3, + rounds: 0, bonusHistory: [], ); whenListen(bloc, Stream.value(state), initialState: state); diff --git a/test/game/components/controlled_plunger_test.dart b/test/game/components/controlled_plunger_test.dart index 5a4adc12..bacbdc54 100644 --- a/test/game/components/controlled_plunger_test.dart +++ b/test/game/components/controlled_plunger_test.dart @@ -22,7 +22,7 @@ void main() { score: 0, multiplier: 1, balls: 0, - rounds: 3, + rounds: 0, bonusHistory: [], ); whenListen(bloc, Stream.value(state), initialState: state); diff --git a/test/game/components/wall_test.dart b/test/game/components/wall_test.dart index 63a39991..bcebcea7 100644 --- a/test/game/components/wall_test.dart +++ b/test/game/components/wall_test.dart @@ -144,9 +144,9 @@ void main() { }, ); - flameTester.test( + flameBlocTester.testGameWidget( 'when ball is debug', - (game) async { + setUp: (game, tester) async { final ball = ControlledBall.debug(); final wall = BottomWall(); await game.ensureAddAll([ball, wall]);