| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package e2e |
||
| 11 | func TestStoreService_Get(t *testing.T) { |
||
| 12 | // Setup |
||
| 13 | t.Parallel() |
||
| 14 | |||
| 15 | store, response, err := client.Stores.Get(context.Background(), "11559") |
||
| 16 | |||
| 17 | // Assert |
||
| 18 | assert.Nil(t, err) |
||
| 19 | |||
| 20 | assert.Equal(t, http.StatusOK, response.HTTPResponse.StatusCode) |
||
| 21 | assert.Equal(t, "11559", store.Data.ID) |
||
| 22 | } |
||
| 36 |