Fix tests

This commit is contained in:
Malachi Soord
2023-11-19 22:38:54 +01:00
parent 03f7ac8468
commit 3cb36dff1e
+1 -8
View File
@@ -7,14 +7,7 @@ import (
)
func TestGetDevices(t *testing.T) {
t.Log("Testing with release version dev")
assertGetDevices(GetDevices("dev"), t)
t.Log("Testing with release version prod")
assertGetDevices(GetDevices("prod"), t)
t.Log("Testing with release version cloud")
assertGetDevices(GetDevices("cloud"), t)
assertGetDevices(GetDevices(), t)
}
func assertGetDevices(devices []Device, t *testing.T) {