diff --git a/scanner/tag_scanner_test.go b/scanner/tag_scanner_test.go index dc1e4575e..c82b9d3c8 100644 --- a/scanner/tag_scanner_test.go +++ b/scanner/tag_scanner_test.go @@ -10,7 +10,7 @@ var _ = Describe("TagScanner", func() { It("return all audio files from the folder", func() { files, err := loadAllAudioFiles("tests/fixtures") Expect(err).ToNot(HaveOccurred()) - Expect(files).To(HaveLen(12)) + Expect(files).To(HaveLen(11)) Expect(files).To(HaveKey("tests/fixtures/test.aiff")) Expect(files).To(HaveKey("tests/fixtures/test.flac")) Expect(files).To(HaveKey("tests/fixtures/test.m4a")) @@ -20,7 +20,6 @@ var _ = Describe("TagScanner", func() { Expect(files).To(HaveKey("tests/fixtures/test.wav")) Expect(files).To(HaveKey("tests/fixtures/test.wma")) Expect(files).To(HaveKey("tests/fixtures/test.wv")) - Expect(files).To(HaveKey("tests/fixtures/test_no_read_permission.ogg")) Expect(files).To(HaveKey("tests/fixtures/01 Invisible (RED) Edit Version.mp3")) Expect(files).To(HaveKey("tests/fixtures/01 Invisible (RED) Edit Version.m4a")) Expect(files).ToNot(HaveKey("tests/fixtures/._02 Invisible.mp3")) diff --git a/scanner/walk_dir_tree_test.go b/scanner/walk_dir_tree_test.go index 75793f273..3a3cbd056 100644 --- a/scanner/walk_dir_tree_test.go +++ b/scanner/walk_dir_tree_test.go @@ -34,7 +34,7 @@ var _ = Describe("walk_dir_tree", func() { Expect(collected[baseDir]).To(MatchFields(IgnoreExtras, Fields{ "Images": BeEmpty(), "HasPlaylist": BeFalse(), - "AudioFilesCount": BeNumerically("==", 13), + "AudioFilesCount": BeNumerically("==", 12), })) Expect(collected[filepath.Join(baseDir, "artist", "an-album")]).To(MatchFields(IgnoreExtras, Fields{ "Images": ConsistOf("cover.jpg", "front.png", "artist.png"), diff --git a/tests/fixtures/test_no_read_permission.ogg b/tests/fixtures/test_no_read_permission.ogg deleted file mode 100644 index be6728129..000000000 Binary files a/tests/fixtures/test_no_read_permission.ogg and /dev/null differ