(t *testing.T, recorder *httptest.ResponseRecorder)
| 53 | } |
| 54 | |
| 55 | func decodeFlowQuotaResponse(t *testing.T, recorder *httptest.ResponseRecorder) flowQuotaResponse { |
| 56 | t.Helper() |
| 57 | require.Equal(t, http.StatusOK, recorder.Code) |
| 58 | var payload flowQuotaResponse |
| 59 | require.NoError(t, common.Unmarshal(recorder.Body.Bytes(), &payload)) |
| 60 | require.True(t, payload.Success, payload.Message) |
| 61 | return payload |
| 62 | } |
| 63 | |
| 64 | func TestGetAllFlowQuotaDatesUsesAdminDimensions(t *testing.T) { |
| 65 | setupFlowControllerTestDB(t) |
no test coverage detected