diff --git a/src/test/librarytest.cpp b/src/test/librarytest.cpp index c87a1387fc8e..14ae1fc00e44 100644 --- a/src/test/librarytest.cpp +++ b/src/test/librarytest.cpp @@ -1,5 +1,6 @@ #include "test/librarytest.h" +#include "library/coverartcache.h" #include "library/library_prefs.h" #include "track/track.h" @@ -33,6 +34,7 @@ LibraryTest::LibraryTest() : MixxxDbTest(kInMemoryDbConnection), m_pTrackCollectionManager(newTrackCollectionManager(config(), dbConnectionPooler())), m_keyNotationCO(mixxx::library::prefs::kKeyNotationConfigKey) { + CoverArtCache::createInstance(); } TrackPointer LibraryTest::getOrAddTrackByLocation(