diff options
Diffstat (limited to 'light_test.go')
-rw-r--r-- | light_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/light_test.go b/light_test.go index 9073a06..da51dce 100644 --- a/light_test.go +++ b/light_test.go @@ -18,9 +18,9 @@ func TestGetAllLights(t *testing.T) { GetAllLights(bridge) } -func TestGetLight(t *testing.T) { +func TestGetLightByName(t *testing.T) { bridge := NewBridge("192.168.1.128", "319b36233bd2328f3e40731b23479207") - GetLight(bridge, "Bathroom Light") + GetLightByName(bridge, "Bathroom Light") } func TestSetLightState(t *testing.T) { |