diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js index 712400f7059b3aec2f7a07180ffe1c2ef55142cc..804c6550833cb8df38b41b7b19041605d0d4b0f6 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmshapmoduletest/entry/src/main/js/test/ActsBmsHapModuleTest.test.js @@ -57,7 +57,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(-1); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.AUTO_MODE); done(); } } @@ -122,7 +122,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(0); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.DARK_MODE); done(); } }); @@ -158,7 +158,7 @@ describe('ActsBmsHapModuleTest', function () { expect(hapModuleInfo.extensionAbilityInfo.length).assertEqual(0); expect(hapModuleInfo.metadata.length).assertEqual(0); expect(hapModuleInfo.installationFree).assertEqual(false); - expect(hapModuleInfo.colorMode).assertEqual(1); + expect(hapModuleInfo.colorMode).assertEqual(bundle.ColorMode.LIGHT_MODE); done(); } });