未验证 提交 270a9f05 编写于 作者: O openharmony_ci 提交者: Gitee

!2835 match the permission update

Merge pull request !2835 from 杨清/1228
......@@ -48,6 +48,10 @@
{
"name":"ohos.permission.GET_BUNDLE_INFO",
"reason":"need use ohos.permission.GET_BUNDLE_INFO"
},
{
"name":"ohos.permission.UPDATE_CONFIGURATION",
"reason":"need use ohos.permission.UPDATE_CONFIGURATION"
}
],
"js": [
......
......@@ -166,12 +166,12 @@ describe('I18nTest', function () {
* @tc.name setSystemLanguage with not exist param aaa
* @tc.desc check the language
*/
it('SUB_GLOBAL_I18N_JS_0850', 0, function () {
it('i18n_test_0850', 0, function () {
let value = I18n.setSystemLanguage('aaa');
console.log('SUB_GLOBAL_I18N_JS_0850 ' + value);
console.log('i18n_test_0850 ' + value);
expect(value).assertTrue();
let lang = I18n.getSystemLanguage();
console.log('SUB_GLOBAL_I18N_JS_0850 ' + lang);
console.log('i18n_test_0850 ' + lang);
expect(lang).assertEqual('aaa');
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册