FIX : tests fail if a /var/music folder exists

master
Rémi Cocula 6 years ago
parent 16fb6d6134
commit c09da549ce
  1. 1
      airsonic-main/src/test/java/org/airsonic/player/service/MediaScannerServiceTestCase.java

@ -109,6 +109,7 @@ public class MediaScannerServiceTestCase {
*/
@Test
public void testScanLibrary() {
musicFolderDao.getAllMusicFolders().forEach(musicFolder -> musicFolderDao.deleteMusicFolder(musicFolder.getId()));
MusicFolderTestData.getTestMusicFolders().forEach(musicFolderDao::createMusicFolder);
settingsService.clearMusicFolderCache();

Loading…
Cancel
Save