CollectionBackendTest: Remove use of QFileInfo::canonicalFilePath

This commit is contained in:
Jonas Kvinge 2024-05-12 21:36:52 +02:00
parent 315cf63118
commit 2a6a07fef6
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ TEST_F(CollectionBackendTest, AddDirectory) {
// Check the signal was emitted correctly
ASSERT_EQ(1, spy.count());
CollectionDirectory dir = spy[0][0].value<CollectionDirectory>();
EXPECT_EQ(QFileInfo(QStringLiteral("/tmp")).canonicalFilePath(), dir.path);
EXPECT_EQ(QStringLiteral("/tmp"), dir.path);
EXPECT_EQ(1, dir.id);
EXPECT_EQ(0, spy[0][1].value<CollectionSubdirectoryList>().size());