Fix build again....
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
NADAL Jean-Baptiste
2020-03-13 11:59:27 +01:00
parent 8562425c08
commit 726ff7864c

View File

@@ -471,7 +471,8 @@ TEST("Rest - Test Web server part.\t")
ASSERT_EQUAL_INT(ret, 0); ASSERT_EQUAL_INT(ret, 0);
} }
ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\n</BODY></HTML>\n", false); // <HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\n</BODY></HTML>
ret = exec_request(kput_method, "http://localhost:" kserver_port "/not_found.html", 404, "", "<html><head><title>404 Not Found</title></head><body><h1>404 Not Found</h1></body></html>", false);
ASSERT_EQUAL_INT(ret, 0); ASSERT_EQUAL_INT(ret, 0);
restd_server_free(rest_server); restd_server_free(rest_server);