diff --git a/runtime/main/extend/systemplugin/napi/ohos_distributedHardware_deviceManager.js b/runtime/main/extend/systemplugin/napi/ohos_distributedHardware_deviceManager.js index 2a3dba73..3547881e 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_distributedHardware_deviceManager.js +++ b/runtime/main/extend/systemplugin/napi/ohos_distributedHardware_deviceManager.js @@ -61,7 +61,7 @@ export function mockDeviceManager() { action: 0, device: deviceInfoMock } - const subscribeInfo = { + const SubscribeInfo = { subscribeId: "[PC Preview] unknow mSubscribeId", mode: DiscoverMode, medium: ExchangeMedium, @@ -70,11 +70,11 @@ export function mockDeviceManager() { isWakeRemote: "[PC Preview] unknow mIsWakeRemote", capability: SubscribeCap } - const authParam = { + const AuthParam = { authType: "[PC Preview] unknow mAuthType", extraInfo: {"key":"unknow any"} } - const authInfo = { + const AuthInfo = { authType: "[PC Preview] unknow mAuthType", token: "[PC Preview] unknow mToken", extraInfo: {"key":"unknow any"}