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 committed Dec 11, 2024
1 parent 76c796d commit 556b0ac
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,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 Expand Up @@ -425,6 +426,8 @@ test.register_coroutine_test(
test.register_coroutine_test(
"Test profile change on init for water valve parent cluster as server",
function()
test.socket.device_lifecycle:__queue_receive({ mock_device_water_valve.id, "doConfigure" })
mock_device_water_valve:expect_metadata_update({ provisioning_state = "PROVISIONED" })
end,
{ test_init = test_init_water_valve }
)
Expand Down Expand Up @@ -456,5 +459,5 @@ test.register_coroutine_test(
end,
{ test_init = test_init_parent_child_unsupported_device_type }
)

--]]
test.run_registered_tests()

0 comments on commit 556b0ac

Please sign in to comment.