chore: test fixed, names changed

pull/359/head
RuiAlonso 3 years ago
parent 84dbb5da1d
commit 0a2045f218

@ -252,7 +252,7 @@ void main() {
); );
flameTester.test( flameTester.test(
'adds ScoreShareRequested when share is tapped on InfoDisplay', 'adds ShareScoreRequested event when sharing on GameOverInfoDisplay',
(game) async { (game) async {
final state = InitialsSuccessState( final state = InitialsSuccessState(
score: 100, score: 100,

@ -5,7 +5,7 @@ import 'package:pinball/start_game/bloc/start_game_bloc.dart';
void main() { void main() {
group('StartGameBloc', () { group('StartGameBloc', () {
blocTest<StartGameBloc, StartGameState>( blocTest<StartGameBloc, StartGameState>(
'on PlayTapped changes status to selectCharacter and restarted false', 'on PlayTapped changes status to selectCharacter',
build: StartGameBloc.new, build: StartGameBloc.new,
act: (bloc) => bloc.add(const PlayTapped()), act: (bloc) => bloc.add(const PlayTapped()),
expect: () => [ expect: () => [

Loading…
Cancel
Save