refactor(music): move the playback stub beside the tests that use it
StubMusicPlaybackService is a base for test doubles with no production caller, so `check-unused-code lib` flagged it and the analysis job failed. Moves it to test/test_helpers/, where shared fakes belong.
This commit is contained in:
@@ -48,6 +48,7 @@ import '../test_helpers/media_items.dart';
|
||||
import '../test_helpers/multi_server_fixtures.dart';
|
||||
import '../test_helpers/prefs.dart';
|
||||
import '../test_helpers/profile_stack.dart';
|
||||
import '../test_helpers/stub_music_playback_service.dart';
|
||||
|
||||
void main() {
|
||||
TestWidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
@@ -27,6 +27,7 @@ import '../../test_helpers/media_items.dart';
|
||||
import '../../test_helpers/multi_server_fixtures.dart';
|
||||
import '../../test_helpers/prefs.dart';
|
||||
import '../../test_helpers/profile_stack.dart';
|
||||
import '../../test_helpers/stub_music_playback_service.dart';
|
||||
|
||||
final _track = testMediaItem(
|
||||
id: 'track_1',
|
||||
|
||||
Reference in New Issue
Block a user