diff --git a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js index c130b4e027f674fe69ce230f9bdcb712bdbe834a..d006430c87844837f8abff96875f46f3c6415a2e 100644 --- a/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js +++ b/resourceschedule/resourceschedule_standard/backgroundtaskmanager/src/main/js/default/test/BackgroundTaskMagrJs.test.js @@ -144,7 +144,7 @@ describe("TransientTaskJsTest", function () { } backgroundTaskManager.getRemainingDelayTime(info.requestId, (err, res) => { - if (err.data === 0) { + if (!err) { console.info('TransientTaskJsTest004 backgroundTaskManager success, delaytime:' + res); expect(true).assertTrue();