File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
drivers/SmartThings/matter-switch/src/test Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 345
345
346
346
local function test_init_water_valve ()
347
347
test .mock_device .add_test_device (mock_device_water_valve )
348
+ test .socket .device_lifecycle :__queue_receive ({ mock_device_water_valve .id , " doConfigure" })
348
349
mock_device_water_valve :expect_metadata_update ({ profile = " water-valve-level" })
350
+ mock_device_water_valve :expect_metadata_update ({ provisioning_state = " PROVISIONED" })
349
351
end
350
352
351
353
local function test_init_parent_child_different_types ()
@@ -394,6 +396,7 @@ local function test_init_parent_child_unsupported_device_type()
394
396
})
395
397
end
396
398
399
+
397
400
test .register_coroutine_test (
398
401
" Test profile change on init for onoff parent cluster as server" ,
399
402
function ()
You can’t perform that action at this time.
0 commit comments