From 811e3ee15e503a169683aa02d7d4bd3122ba5ff7 Mon Sep 17 00:00:00 2001 From: zhuhongtao666 Date: Sun, 25 Sep 2022 20:03:42 +0800 Subject: [PATCH] bugfix_file_copy_002 Signed-off-by: zhuhongtao666 --- storage/storagefilejstest/src/main/js/test/File.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/storagefilejstest/src/main/js/test/File.test.js b/storage/storagefilejstest/src/main/js/test/File.test.js index 99aaa3bd4..7ddc82eba 100644 --- a/storage/storagefilejstest/src/main/js/test/File.test.js +++ b/storage/storagefilejstest/src/main/js/test/File.test.js @@ -2726,8 +2726,8 @@ describe('fileTest', function () { dstUri: 'internal://cache/../files/cache/File_Copy_002' + typeArray[i], success: function () { console.info('File_Copy_002 call copy success.'); - fileio.unlinkSync(srcFpath); - fileio.unlinkSync(dstFpath); + file.delete('internal://cache/../files/File_Copy_002' + typeArray[i]); + file.delete('internal://cache/../files/cache/File_Copy_002' + typeArray[i]); done(); }, fail: function (data, code) { -- GitLab