Skip to content

Commit

Permalink
Fix matter profile switch test
Browse files Browse the repository at this point in the history
Its not clear if this fix is the correct fix or not.
  • Loading branch information
cjswedes authored and dljsjr committed Dec 16, 2024
1 parent 6780dbd commit fb10f6e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ end

local function test_init_water_valve()
test.mock_device.add_test_device(mock_device_water_valve)
test.socket.device_lifecycle:__queue_receive({ mock_device_water_valve.id, "doConfigure" })
mock_device_water_valve:expect_metadata_update({ profile = "water-valve-level" })
mock_device_water_valve:expect_metadata_update({ provisioning_state = "PROVISIONED" })
end

local function test_init_parent_child_different_types()
Expand Down Expand Up @@ -394,6 +396,7 @@ local function test_init_parent_child_unsupported_device_type()
})
end


test.register_coroutine_test(
"Test profile change on init for onoff parent cluster as server",
function()
Expand Down

0 comments on commit fb10f6e

Please sign in to comment.