Work on responses

This commit is contained in:
Jonathan Hodgson 2022-01-17 14:04:30 +00:00
parent 8912994e1d
commit a3a48a841e
3 changed files with 18 additions and 2 deletions

View file

@ -4,7 +4,7 @@
#include "munit/munit.h"
#ifndef REQUESTRESPONSE_C
#define REQUESTRESPONSE_C value
#include "requestresponse.test.c"
#include "../src/requestresponse.c"
#endif /* ifndef REQUESTRESPONSE_C */
#include "../src/response.c"
@ -47,6 +47,7 @@ MunitResult testResponseToString(const MunitParameter params[],
return MUNIT_OK;
}
static MunitTest response_tests[] = {
{
"/new/status", /* name */