diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets index 4d370cf9ea555c8561567bbcadff590da04276e4..6e5cc630333c5cd3c76c77ee95284b65cab01dd0 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanageretstest/entry/src/main/ets/test/getApplicationInfoJsunit.test.ets @@ -399,7 +399,7 @@ export default function applicationBundleJsunit() { Bundle.BundleFlag.GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT).then((data) => { expect(data.fingerprint).assertEqual(TEST_DEMO); }).catch((error) => { - expect(data).assertFail(); + expect(error).assertFail(); }); done() });