mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-15 19:21:16 +01:00
Check these additional tables exist
This commit is contained in:
parent
af07b5becd
commit
d1966aa7f6
@ -111,6 +111,9 @@ TEST_F(LibraryBackendTest, DatabaseInitialises) {
|
|||||||
QStringList tables = database_.tables();
|
QStringList tables = database_.tables();
|
||||||
EXPECT_TRUE(tables.contains("songs"));
|
EXPECT_TRUE(tables.contains("songs"));
|
||||||
EXPECT_TRUE(tables.contains("directories"));
|
EXPECT_TRUE(tables.contains("directories"));
|
||||||
|
EXPECT_TRUE(tables.contains("subdirectories"));
|
||||||
|
EXPECT_TRUE(tables.contains("playlists"));
|
||||||
|
EXPECT_TRUE(tables.contains("playlist_items"));
|
||||||
ASSERT_TRUE(tables.contains("schema_version"));
|
ASSERT_TRUE(tables.contains("schema_version"));
|
||||||
|
|
||||||
// Check the schema version is correct
|
// Check the schema version is correct
|
||||||
|
Loading…
Reference in New Issue
Block a user