未验证 提交 7c125227 编写于 作者: O openharmony_ci 提交者: Gitee

!2836 match the permission update to 3.1 rls

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