From 5cf7d04269625d3137942fc5bb95c877a49ccde5 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Wed, 30 Mar 2022 16:51:53 +0200 Subject: [PATCH] test: fixed spaceship exit test --- test/game/components/spaceship_exit_rail_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/game/components/spaceship_exit_rail_test.dart b/test/game/components/spaceship_exit_rail_test.dart index 529bc784..99afc808 100644 --- a/test/game/components/spaceship_exit_rail_test.dart +++ b/test/game/components/spaceship_exit_rail_test.dart @@ -21,10 +21,10 @@ void main() { exitRailEnd = MockSpaceshipExitRailEnd(); ball = MockBall(); + body = MockBody(); when(() => ball.gameRef).thenReturn(game); when(() => ball.body).thenReturn(body); - body = MockBody(); fixture = MockFixture(); filterData = MockFilter(); when(() => body.fixtures).thenReturn([fixture]);