Commit e24488ac authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix broken test.

parent 65972fab
......@@ -41,9 +41,9 @@ func TestGroup(t *testing.T) {
if ar := g.AllowRecording(); ar {
t.Errorf("Allow Recording: expected false, got %v", ar)
}
api := g.API()
if api == nil {
t.Errorf("Couldn't get API")
api, err := g.API()
if err != nil || api == nil {
t.Errorf("Couldn't get API: %v", err)
}
if names := GetNames(); len(names) != 2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment