未验证 提交 065881a6 编写于 作者: O openharmony_ci 提交者: Gitee

!5313 修改ActsWallpaperJSApiTest模块执行三条fail项

Merge pull request !5313 from 李昊/OpenHarmony-3.1-Release
......@@ -100,7 +100,7 @@ describe('WallpaperJsunitTest', function () {
}).catch((err) => {
console.info('wallpaperXTS ===> testGetColorsPromiseSystem err : ' + JSON.stringify(err));
if (err) {
expect(err.code).assertEqual(801);
expect(err.code).assertEqual("801");
}
});
done();
......@@ -117,7 +117,7 @@ describe('WallpaperJsunitTest', function () {
console.info('wallpaperXTS ===> testGetColorsCallbackLock err : ' + JSON.stringify(err));
console.info('wallpaperXTS ===> testGetColorsCallbackLock data : ' + JSON.stringify(data));
if (err) {
expect(err.code).assertEqual(801);
expect(err.code).assertEqual("801");
done();
}
if ((data != undefined) && (data != null) && (data != '')) {
......@@ -144,7 +144,7 @@ describe('WallpaperJsunitTest', function () {
}).catch((err) => {
console.info('wallpaperXTS ===> testGetColorsPromiseSystem err : ' + JSON.stringify(err));
if (err) {
expect(err.code).assertEqual(801);
expect(err.code).assertEqual("801");
}
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册