Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Abestanis committed Jun 22, 2022
1 parent 65a755a commit d8bb736
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions test/logic/player/music_player_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ void main() {
expect(
playbackState.controls.map((control) => control.toString()),
[
MediaControl(androidIcon: 'drawable/round_loop_black_24', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous_black_36', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_pause_black_36', label: l10n.pause, action: 'pause'),
MediaControl(androidIcon: 'drawable/round_skip_next_black_36', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop_black_24', label: l10n.stop, action: 'stop'),
MediaControl(androidIcon: 'drawable/round_loop', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_pause', label: l10n.pause, action: 'pause'),
MediaControl(androidIcon: 'drawable/round_skip_next', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop', label: l10n.stop, action: 'stop'),
].map((control) => control.toString()),
);
});
Expand All @@ -55,11 +55,11 @@ void main() {
expect(
playbackState.controls.map((control) => control.toString()),
[
MediaControl(androidIcon: 'drawable/round_loop_black_24', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous_black_36', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_play_arrow_black_36', label: l10n.play, action: 'play'),
MediaControl(androidIcon: 'drawable/round_skip_next_black_36', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop_black_24', label: l10n.stop, action: 'stop'),
MediaControl(androidIcon: 'drawable/round_loop', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_play_arrow', label: l10n.play, action: 'play'),
MediaControl(androidIcon: 'drawable/round_skip_next', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop', label: l10n.stop, action: 'stop'),
].map((control) => control.toString()),
);
});
Expand All @@ -75,11 +75,11 @@ void main() {
expect(
playbackState.controls.map((control) => control.toString()),
[
MediaControl(androidIcon: 'drawable/round_loop_black_24', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous_black_36', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_play_arrow_black_36', label: l10n.play, action: 'play'),
MediaControl(androidIcon: 'drawable/round_skip_next_black_36', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop_black_24', label: l10n.stop, action: 'stop'),
MediaControl(androidIcon: 'drawable/round_loop', label: l10n.loopOff, action: 'loop_off'),
MediaControl(androidIcon: 'drawable/round_skip_previous', label: l10n.previous, action: 'play_prev'),
MediaControl(androidIcon: 'drawable/round_play_arrow', label: l10n.play, action: 'play'),
MediaControl(androidIcon: 'drawable/round_skip_next', label: l10n.next, action: 'play_next'),
MediaControl(androidIcon: 'drawable/round_stop', label: l10n.stop, action: 'stop'),
].map((control) => control.toString()),
);
});
Expand Down

0 comments on commit d8bb736

Please sign in to comment.