fixed player test relative file paths

This commit is contained in:
2025-03-28 17:08:05 -04:00
parent 32b7d2b457
commit 4902093b0c
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -163,5 +163,6 @@ func (p *Player) getUserVolume() UserVolume {
}
func (p *Player) MuteToggle() error {
p.volume.Silent = !p.volume.Silent
return nil
}
+3 -3
View File
@@ -6,9 +6,9 @@ import (
)
var testQueue = []string{
"./test_data/music_library_test/other_music/03 PONPONPON.mp3",
"./test_data/music_library_test/01 Some Chords.mp3",
"./test_data/music_library_test/03 anything.mp3",
"../../test_data/music_library_test/other_music/03 PONPONPON.mp3",
"../../test_data/music_library_test/01 Some Chords.mp3",
"../../test_data/music_library_test/03 anything.mp3",
}
func TestPlayer(t *testing.T) {