diff --git a/test/game/components/ball_test.dart b/test/game/components/ball_test.dart index 64d41908..829ca875 100644 --- a/test/game/components/ball_test.dart +++ b/test/game/components/ball_test.dart @@ -72,7 +72,7 @@ void main() { ); }); - group('resetting a ball', () { + group('lost', () { late GameBloc gameBloc; setUp(() { @@ -128,7 +128,7 @@ void main() { ); await game.ready(); - game.children.whereType().first.removeFromParent(); + game.children.whereType().first.lost(); await tester.pump(); expect(