diff --git a/tests/MediaTest.php b/tests/MediaTest.php index c5aa1385..7d4472cf 100644 --- a/tests/MediaTest.php +++ b/tests/MediaTest.php @@ -20,7 +20,11 @@ class MediaTest extends TestCase $media->sync($this->mediaPath); // Standard mp3 files under root path should be recognized - $this->seeInDatabase('songs', ['path' => $this->mediaPath.'/full.mp3']); + $this->seeInDatabase('songs', [ + 'path' => $this->mediaPath.'/full.mp3', + // Track # should be recognized + 'track' => 5, + ]); // Ogg files and audio files in subdirectories should be recognized $this->seeInDatabase('songs', ['path' => $this->mediaPath.'/subdir/back-in-black.ogg']); diff --git a/tests/songs/full.mp3 b/tests/songs/full.mp3 index be83559b..1d2eb065 100644 Binary files a/tests/songs/full.mp3 and b/tests/songs/full.mp3 differ