提交 3310993f 编写于 作者: O openharmony_ci 提交者: Gitee

!1072 修复电源子系统电量计数不正确的问题

Merge pull request !1072 from 梁启航/master
......@@ -96,7 +96,7 @@ describe('appInfoTest', function () {
it('battery_temperature_test', 0, function () {
var batteryTemperature = batteryInfo.batteryTemperature;
console.info('batteryTemperature = ' + batteryTemperature);
expect(batteryTemperature <= 100).assertTrue()
expect(batteryTemperature <= 700).assertTrue()
})
/**
......
......@@ -141,7 +141,7 @@ describe('appInfoTest', function () {
runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.PROXIMITY_SCREEN_CONTROL)
.then(supported => {
console.info('is_runninglock_type_supported_test_1 PROXIMITY_SCREEN_CONTROL supported is ' + supported);
expect(supported).assertFalse();
expect(supported).assertTrue();
console.info('is_runninglock_type_supported_test_1 success');
done();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册