(t *testing.T)
| 133 | } |
| 134 | |
| 135 | func TestDeleteCollectionObject(t *testing.T) { |
| 136 | ctx := context.Background() |
| 137 | client, requester := newClient(t) |
| 138 | |
| 139 | _, err := client.Collections().Delete(ctx, "test-get-one", "id1") |
| 140 | require.NoError(t, err) |
| 141 | testRequest(t, requester.req, http.MethodDelete, "https://api.stream-io-api.com/api/v1.0/collections/test-get-one/id1/?api_key=key", "") |
| 142 | } |
| 143 | |
| 144 | func TestAddCollectionObject(t *testing.T) { |
| 145 | ctx := context.Background() |
nothing calls this directly
no test coverage detected