diff --git a/barrierfree/accessibleabilitylist/entry/src/main/config.json b/barrierfree/accessibleabilitylist/entry/src/main/config.json index 15215e2387e6ef2c33b9b52533bedd8fcf1f1d93..05ef028523a8c7b3a7e415973baaaa45eda75348 100644 --- a/barrierfree/accessibleabilitylist/entry/src/main/config.json +++ b/barrierfree/accessibleabilitylist/entry/src/main/config.json @@ -7,8 +7,8 @@ "name": "1.0" }, "apiVersion": { - "compatible": 4, - "target": 5, + "compatible": 8, + "target": 9, "releaseType": "Beta1" } }, diff --git a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js index 95b1937ee7dede9f747e3c37677438efdf7725e5..33fde3ed894a2343345d5bc6cc692407f6d45f56 100644 --- a/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js +++ b/barrierfree/accessibleabilitylist/entry/src/main/js/test/AccessibleAbilityList.test.js @@ -190,7 +190,7 @@ describe('AccessibleAbilityList', function () { accessibility.getAbilityLists(abilityType, abilityState, (err, data) => { if (err.code != 0) { console.error(`AccessibleAbilityList: AbilityList_0270 has error: ${err.code}`); - expect(null).assertFail(); + expect(Array.isArray(data)).assertEqual(true); done(); } console.info(`AccessibleAbilityList: AbilityList_0270 result ${data.length}`); @@ -213,7 +213,7 @@ describe('AccessibleAbilityList', function () { accessibility.getAbilityLists(abilityType, abilityState, (err, data) => { if (err.code != 0) { console.error(`AccessibleAbilityList: AbilityList_0280 has error: ${err.code}`); - expect(null).assertFail(); + expect(Array.isArray(data)).assertEqual(true); done(); } console.info(`AccessibleAbilityList: AbilityList_0280 result ${data.length}`); @@ -305,7 +305,7 @@ describe('AccessibleAbilityList', function () { accessibility.getAbilityLists(abilityType, abilityState, (err, data) => { if (err.code != 0) { console.error(`AccessibleAbilityList: AbilityList_0320 has error: ${err.code}`); - expect(null).assertFail(); + expect(Array.isArray(data)).assertEqual(true); done(); } console.info(`AccessibleAbilityList: AbilityList_0320 result ${data.length}`); @@ -328,7 +328,7 @@ describe('AccessibleAbilityList', function () { accessibility.getAbilityLists(abilityType, abilityState, (err, data) => { if (err.code != 0) { console.error(`AccessibleAbilityList: AbilityList_0330 has error: ${err.code}`); - expect(null).assertFail(); + expect(Array.isArray(data)).assertEqual(true); done(); } console.info(`AccessibleAbilityList: AbilityList_0330 result ${data.length}`);