|
|
@ -24,7 +24,7 @@ void main() {
|
|
|
|
authenticationRepository = _MockAuthenticationRepository();
|
|
|
|
authenticationRepository = _MockAuthenticationRepository();
|
|
|
|
leaderboardRepository = _MockLeaderboardRepository();
|
|
|
|
leaderboardRepository = _MockLeaderboardRepository();
|
|
|
|
pinballAudio = _MockPinballAudio();
|
|
|
|
pinballAudio = _MockPinballAudio();
|
|
|
|
when(pinballAudio.load).thenAnswer((_) => Future.value());
|
|
|
|
when(pinballAudio.load).thenAnswer((_) => [Future.value()]);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
testWidgets('renders PinballGamePage', (tester) async {
|
|
|
|
testWidgets('renders PinballGamePage', (tester) async {
|
|
|
|