Closed harism closed 5 months ago
I added integration test for assertRegistration
to verify that assertion fails with invalid device id. But do you consider this is enough for integration tests and rely on it that all adapters do call assertRegistration
and this will cover all adapter uses where using via gateway it has been possible to have invalid device id?
If not I will continue writing per adapter integration tests in a similar fashion too.
This is initial implementation idea I had and thought it should cover all the paths device is created to prevent creating any deivce with id which does not conform to the device id pattern.
I think I need to look at integration tests also but need to do that bit later.