Conditions | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package e2e |
||
22 | func TestVariantsService_List(t *testing.T) { |
||
23 | // Act |
||
24 | variants, response, err := client.Variants.List(context.Background()) |
||
25 | |||
26 | // Assert |
||
27 | assert.Nil(t, err) |
||
28 | |||
29 | assert.Equal(t, http.StatusOK, response.HTTPResponse.StatusCode) |
||
30 | assert.Equal(t, 5, len(variants.Data)) |
||
31 | } |
||
32 |