diff --git a/global/resmgr_standard/resmgrjs/BUILD.gn b/global/resmgr_standard/resmgrjs/BUILD.gn index e1eda731c1aa14553af8bbc900f886652a42e984..639a7478afd2b684d49bb3f8f6c75501dcb85bd8 100755 --- a/global/resmgr_standard/resmgrjs/BUILD.gn +++ b/global/resmgr_standard/resmgrjs/BUILD.gn @@ -15,5 +15,5 @@ import("//test/xts/tools/build/suite.gni") ohos_js_hap_suite("resmgrjs_test") { test_hap_name = "resmgrjs" - hap_source_path = "hap/entry-debug-signed.hap" + hap_source_path = "hap/entry-debug-rich-signed.hap" } diff --git a/global/resmgr_standard/resmgrjs/hap/entry-debug-rich-signed.hap b/global/resmgr_standard/resmgrjs/hap/entry-debug-rich-signed.hap new file mode 100755 index 0000000000000000000000000000000000000000..639867043dce33f51a6831ffed501dc26fb2d76b Binary files /dev/null and b/global/resmgr_standard/resmgrjs/hap/entry-debug-rich-signed.hap differ diff --git a/global/resmgr_standard/resmgrjs/hap/entry-debug-signed.hap b/global/resmgr_standard/resmgrjs/hap/entry-debug-signed.hap deleted file mode 100755 index f4c080fefc0ad5c3cd3d285722498e0d0552471c..0000000000000000000000000000000000000000 Binary files a/global/resmgr_standard/resmgrjs/hap/entry-debug-signed.hap and /dev/null differ diff --git a/global/resmgr_standard/resmgrjs/project/entry/src/main/js/test/Resmgr.test.js b/global/resmgr_standard/resmgrjs/project/entry/src/main/js/test/Resmgr.test.js index aad65a343edf1939e4e1fcdb874ecb10247a3ad9..30660e334e824f8fa217df2ff226494556b844f6 100755 --- a/global/resmgr_standard/resmgrjs/project/entry/src/main/js/test/Resmgr.test.js +++ b/global/resmgr_standard/resmgrjs/project/entry/src/main/js/test/Resmgr.test.js @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import resmgr from "@ohos.resmgr" +import resmgr from "@ohos.resourceManager" import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index' describe('resMgrTest', function () {