Skip to content

Commit 1551d69

Browse files
committed
fix: compare service names in integraiton tests
1 parent 8edd0df commit 1551d69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client_int_test.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ func TestNew(t *testing.T) {
9090
defer del(t, client, "testnew")
9191

9292
// Assert
93-
names, err := client.List()
93+
items, err := client.List()
94+
names := []string{}
95+
for _, item := range items {
96+
names = append(names, item.Name)
97+
}
9498
if err != nil {
9599
t.Fatal(err)
96100
}

0 commit comments

Comments
 (0)