tests: Fixed ignored return value

This commit is contained in:
Jonas Kvinge
2025-01-10 00:58:41 +01:00
parent 9095b0d6b2
commit 319558c535
3 changed files with 23 additions and 23 deletions

View File

@@ -47,7 +47,7 @@ class SongPlaylistItemTest : public ::testing::TestWithParam<const char*> {
void SetUp() override {
// SongPlaylistItem::Url() checks if the file exists, so we need a real file
temp_file_.open();
EXPECT_TRUE(temp_file_.open());
absolute_file_name_ = QFileInfo(temp_file_.fileName()).absoluteFilePath();