Skip to content

Commit

Permalink
Create a CoverArtCache Instance from LibraryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Oct 12, 2023
1 parent 5786554 commit cb49584
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/librarytest.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "test/librarytest.h"

#include "library/coverartcache.h"
#include "library/library_prefs.h"
#include "track/track.h"

Expand Down Expand Up @@ -33,6 +34,7 @@ LibraryTest::LibraryTest()
: MixxxDbTest(kInMemoryDbConnection),
m_pTrackCollectionManager(newTrackCollectionManager(config(), dbConnectionPooler())),
m_keyNotationCO(mixxx::library::prefs::kKeyNotationConfigKey) {
CoverArtCache::createInstance();
}

TrackPointer LibraryTest::getOrAddTrackByLocation(
Expand Down

0 comments on commit cb49584

Please sign in to comment.