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:
edde746
2026-07-26 23:05:53 +02:00
parent 01d7d523aa
commit e7f97cc090
8 changed files with 153 additions and 143 deletions
@@ -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();
+1
View File
@@ -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',