Skip to content

Commit f1b654b

Browse files
committed
Fix json access in couple scripts
1 parent 79cd798 commit f1b654b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/GetInteriorVehicleData/009_Success_flow_in_case_moduleType_is_an_empty_array_in_LPT.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runner.testSettings.isSelfIncluded = false
2424
local function PTUfunc(tbl)
2525
local appId = config.application1.registerAppInterfaceParams.fullAppID
2626
tbl.policy_table.app_policies[appId] = common.getRCAppConfig()
27-
tbl.policy_table.app_policies[appId].moduleType = commonRC.json.EMPTY_ARRAY
27+
tbl.policy_table.app_policies[appId].moduleType = common.json.EMPTY_ARRAY
2828
end
2929

3030
--[[ Scenario ]]

test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/SetInteriorVehicleData/006_Success_flow_in_case_moduleType_is_an_empty_array_in_LPT.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ local modules = { "CLIMATE", "AUDIO", "LIGHT", "HMI_SETTINGS" }
2828
--[[ Local Functions ]]
2929
local function PTUfunc(tbl)
3030
tbl.policy_table.app_policies[config.application1.registerAppInterfaceParams.fullAppID] = common.getRCAppConfig()
31-
tbl.policy_table.app_policies[config.application1.registerAppInterfaceParams.fullAppID].moduleType = commonRC.json.EMPTY_ARRAY
31+
tbl.policy_table.app_policies[config.application1.registerAppInterfaceParams.fullAppID].moduleType = common.json.EMPTY_ARRAY
3232
end
3333

3434
--[[ Scenario ]]

0 commit comments

Comments
 (0)