From 0a2045f2183aa44ed4a4d9137cb12f9659a84a34 Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Fri, 6 May 2022 19:48:54 +0200 Subject: [PATCH] chore: test fixed, names changed --- test/game/components/backbox/backbox_test.dart | 2 +- test/start_game/bloc/start_game_bloc_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/game/components/backbox/backbox_test.dart b/test/game/components/backbox/backbox_test.dart index 28102f8c..6ab0c32e 100644 --- a/test/game/components/backbox/backbox_test.dart +++ b/test/game/components/backbox/backbox_test.dart @@ -252,7 +252,7 @@ void main() { ); flameTester.test( - 'adds ScoreShareRequested when share is tapped on InfoDisplay', + 'adds ShareScoreRequested event when sharing on GameOverInfoDisplay', (game) async { final state = InitialsSuccessState( score: 100, diff --git a/test/start_game/bloc/start_game_bloc_test.dart b/test/start_game/bloc/start_game_bloc_test.dart index 01789912..3b82e83d 100644 --- a/test/start_game/bloc/start_game_bloc_test.dart +++ b/test/start_game/bloc/start_game_bloc_test.dart @@ -5,7 +5,7 @@ import 'package:pinball/start_game/bloc/start_game_bloc.dart'; void main() { group('StartGameBloc', () { blocTest( - 'on PlayTapped changes status to selectCharacter and restarted false', + 'on PlayTapped changes status to selectCharacter', build: StartGameBloc.new, act: (bloc) => bloc.add(const PlayTapped()), expect: () => [