diff --git a/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp b/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp index d6103bee95cadbf641323bf2985162605a25b668..fcd294b5f4beadc8f37eeafb3e1e4120b5a8a737 100644 --- a/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp +++ b/interfaces/test/unittest/js/mod_fs/properties/unlink_core_mock_test.cpp @@ -42,7 +42,7 @@ void UnlinkCoreMockTest::SetUpTestCase(void) { GTEST_LOG_(INFO) << "SetUpTestCase"; tempFilePath = filesystem::temp_directory_path() / "unlink_test_file.txt"; - ofstream(tempFilePath) << "Test content\n123\n456"; + ofstream(tempFilePath) << "unlink_test_file"; uvMock = std::make_shared(); Uvfs::ins = uvMock; }