test: fixed spaceship exit test

pull/79/head
RuiAlonso 4 years ago
parent 66a744c75b
commit 5cf7d04269

@ -21,10 +21,10 @@ void main() {
exitRailEnd = MockSpaceshipExitRailEnd(); exitRailEnd = MockSpaceshipExitRailEnd();
ball = MockBall(); ball = MockBall();
body = MockBody();
when(() => ball.gameRef).thenReturn(game); when(() => ball.gameRef).thenReturn(game);
when(() => ball.body).thenReturn(body); when(() => ball.body).thenReturn(body);
body = MockBody();
fixture = MockFixture(); fixture = MockFixture();
filterData = MockFilter(); filterData = MockFilter();
when(() => body.fixtures).thenReturn([fixture]); when(() => body.fixtures).thenReturn([fixture]);

Loading…
Cancel
Save