diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsHasInstalldTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsHasInstalldTest.test.js index e9ca2b95b38bdb65f5ecd2e0fd9ae2b1a1197e58..cb9da87d9246c2fe8354839c3439d6914310f224 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsHasInstalldTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsjstest/entry/src/main/js/test/ActsBmsHasInstalldTest.test.js @@ -35,12 +35,10 @@ describe('ActsBmsHasInstalldTest', function () { console.info('hasInstalled success function in'); expect(data.result).assertTrue(); flag += 1; - done(); }, fail: function fail(data, code) { console.info('hasInstalled fail function in'); expect().assertFail(); - done(); }, complete: function complete() { console.info('hasInstalled complete function in'); @@ -63,12 +61,10 @@ describe('ActsBmsHasInstalldTest', function () { console.info('hasInstalled success function in'); flag += 1; expect(data.result).assertFalse(); - done(); }, fail: function fail(data, code) { console.info('hasInstalled fail function in'); expect().assertFail(); - done(); }, complete: function complete() { console.info('hasInstalled complete function in'); @@ -106,7 +102,6 @@ describe('ActsBmsHasInstalldTest', function () { success: function success(data) { console.info('hasInstalled success function in'); expect().assertFail(); - done(); }, fail: function fail(data, code) { flag += 2; @@ -135,7 +130,6 @@ describe('ActsBmsHasInstalldTest', function () { success: function success(data) { console.info('hasInstalled success' + JSON.stringify(data)); expect(error).assertFail(); - done(); }, complete: function complete() { console.info('hasInstalled complete'); @@ -155,7 +149,7 @@ describe('ActsBmsHasInstalldTest', function () { bundleName: NUM_TWO, success: function success(data) { console.info('hasInstalled success' + JSON.stringify(data)); - expect(error).assertFail(); + expect().assertFail(); done(); }, fail: function fail(data, code) {