Fix compile collection model test

This commit is contained in:
Jonas Kvinge 2019-11-25 00:35:16 +01:00
parent f7f9333d91
commit 7039234471
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class CollectionModelTest : public ::testing::Test {
void SetUp() {
database_.reset(new MemoryDatabase(nullptr));
backend_.reset(new CollectionBackend);
backend_->Init(database_.get(), SCollection::kSongsTable, SCollection::kDirsTable, SCollection::kSubdirsTable, SCollection::kFtsTable);
backend_->Init(database_.get(), Song::Source_Collection, SCollection::kSongsTable, SCollection::kDirsTable, SCollection::kSubdirsTable, SCollection::kFtsTable);
model_.reset(new CollectionModel(backend_.get(), nullptr));
added_dir_ = false;