diff --git a/ability/dmsfwk/continuationmanagertest/src/main/js/test/ContinuationManagerJsunit.test.js b/ability/dmsfwk/continuationmanagertest/src/main/js/test/ContinuationManagerJsunit.test.js index c50748002a0c671d20c059610ccfa9146690b2d2..eba9c41ea7b2076ee94c0b4072d4ae4d4bfce2f4 100644 --- a/ability/dmsfwk/continuationmanagertest/src/main/js/test/ContinuationManagerJsunit.test.js +++ b/ability/dmsfwk/continuationmanagertest/src/main/js/test/ContinuationManagerJsunit.test.js @@ -1466,7 +1466,7 @@ describe('continuationManagerTest', function() { done(); } catch (e) { console.info("testUpdateContinuationState001 " + e); - expect(e.code == 401).assertTrue(); + expect(null).assertFail(); done(); } }) @@ -1506,7 +1506,7 @@ describe('continuationManagerTest', function() { done(); } catch (e) { console.info("testUpdateContinuationState003 " + e); - expect(e.code == 401).assertTrue(); + expect(null).assertFail(); done(); } }) @@ -1528,7 +1528,7 @@ describe('continuationManagerTest', function() { done(); } catch (e) { console.info("testUpdateContinuationState004 " + e); - expect(e.code == 401).assertTrue(); + expect(null).assertFail(); done(); } }) @@ -1550,7 +1550,7 @@ describe('continuationManagerTest', function() { done(); } catch (e) { console.info("testUpdateContinuationState005 " + e); - expect(e.code == 401).assertTrue(); + expect(null).assertFail(); done(); } }) @@ -1571,7 +1571,7 @@ describe('continuationManagerTest', function() { done(); } catch (e) { console.info("testUpdateContinuationState006 " + e); - expect(e.code == 401).assertTrue(); + expect(null).assertFail(); done(); } })