diff --git a/repertory/repertory_test/src/database_test.cpp b/repertory/repertory_test/src/database_test.cpp index bba981a1..c2c5e1b7 100644 --- a/repertory/repertory_test/src/database_test.cpp +++ b/repertory/repertory_test/src/database_test.cpp @@ -35,10 +35,8 @@ TEST(database, db_insert) { { sqlite3 *db3_ptr{nullptr}; auto res = sqlite3_open_v2( - utils::path::absolute( - utils::path::combine(get_test_dir(), {"test.db3"})) - .c_str(), - &db3_ptr, SQLITE_OPEN_READWRITE, nullptr); + utils::path::combine(get_test_dir(), {"test.db3"}).c_str(), &db3_ptr, + SQLITE_OPEN_READWRITE, nullptr); ASSERT_EQ(SQLITE_OK, res); ASSERT_TRUE(db3_ptr != nullptr);