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]);