From 89061cbaf68d05760a8419ac6b5fc2c08ca2daf7 Mon Sep 17 00:00:00 2001 From: y00314596 Date: Tue, 25 Oct 2022 17:40:26 +0800 Subject: [PATCH] add by yangqing3@huawei.com Signed-off-by: y00314596 --- .../resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js b/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js index cc472c999..dcbe4800b 100644 --- a/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js +++ b/global/resmgr_standard/resmgrjs/src/main/js/test/Resmgr.test.js @@ -37,7 +37,7 @@ describe('resMgrTest', function () { * @tc.desc get the resource manager in callback mode with bundlename */ it('getResourceManager_test_002', 0, async function (done) { - resmgr.getResourceManager('com.ohos.settings', (error, mgr) => { + resmgr.getResourceManager('com.ohos.contacts', (error, mgr) => { expect(mgr !== null).assertTrue(); }) done(); @@ -61,7 +61,7 @@ describe('resMgrTest', function () { * @tc.desc get the resource manager in promise mode with bundlename */ it('getResourceManager_test_004', 0, async function (done) { - resmgr.getResourceManager('com.ohos.settings').then(mgr => { + resmgr.getResourceManager('com.ohos.contacts').then(mgr => { expect(mgr !== null).assertTrue(); }) done(); -- GitLab