diff options
Diffstat (limited to 'group_test.go')
-rw-r--r-- | group_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/group_test.go b/group_test.go index 8fcbd09..ea13d64 100644 --- a/group_test.go +++ b/group_test.go @@ -13,7 +13,8 @@ import ( ) func TestGetGroups(t *testing.T) { - bridge, _ := NewBridge("192.168.1.128", "427de8bd6d49f149c8398e4fc08f") + bridge, _ := NewBridge("192.168.1.128") + bridge.Login("427de8bd6d49f149c8398e4fc08f") groups, _ := bridge.GetGroups() for group := range groups { fmt.Println(groups[group]) |