Conditions | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package e2e |
||
24 | func TestStoresService_List(t *testing.T) { |
||
25 | // Setup |
||
26 | t.Parallel() |
||
27 | |||
28 | stores, response, err := client.Stores.List(context.Background()) |
||
29 | |||
30 | // Assert |
||
31 | assert.Nil(t, err) |
||
32 | |||
33 | assert.Equal(t, http.StatusOK, response.HTTPResponse.StatusCode) |
||
34 | assert.Equal(t, 2, len(stores.Data)) |
||
35 | } |
||
36 |