mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 08:36:13 +00:00
Split register and unregister device tests (#133)
This commit is contained in:
@@ -17,13 +17,3 @@ Authorization: Bearer {{authToken}}
|
||||
client.assert(device.getAttribute("deviceid") === client.variables.environment.get("deviceId"), "Response body should contain the deviceId");
|
||||
});
|
||||
%}
|
||||
|
||||
### DELETE /{{newAccountId}}/devices/{{deviceId}} (Unregister Device)
|
||||
DELETE {{host}}/accounts/{{newAccountId}}/devices/{{deviceId}}
|
||||
Authorization: Bearer {{authToken}}
|
||||
|
||||
> {%
|
||||
client.test("Device unregistered successfully", function() {
|
||||
client.assert(response.status === 200, "Response status is not 200");
|
||||
});
|
||||
%}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
### DELETE /{{newAccountId}}/devices/{{deviceId}} (Unregister Device)
|
||||
DELETE {{host}}/accounts/{{newAccountId}}/devices/{{deviceId}}
|
||||
Authorization: Bearer {{authToken}}
|
||||
|
||||
> {%
|
||||
client.test("Device unregistered successfully", function() {
|
||||
client.assert(response.status === 200, "Response status is not 200");
|
||||
});
|
||||
%}
|
||||
Reference in New Issue
Block a user