Skip to content

Commit 9a8412b

Browse files
authored
Fix test aligning with new API results (#81)
1 parent 439a033 commit 9a8412b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func TestDevicesAPI(t *testing.T) {
184184

185185
// Try to get the no more existing device
186186
storedDevice, _, err := client.DevicesV2Api.DevicesV2Show(ctx, device.Id).Execute()
187-
assert.Contains(t, err.Error(), "401", "Error should be unauthorized")
187+
assert.Contains(t, err.Error(), "404", "Error should not found")
188188
assert.Nil(t, storedDevice, "Device should be empty")
189189
}
190190

0 commit comments

Comments
 (0)