Tests. CI. Log root endpoint.

This commit is contained in:
lganzzzo 2020-01-07 14:49:48 +02:00
parent 67991f8d74
commit d212fb843a
2 changed files with 3 additions and 2 deletions

View File

@ -110,8 +110,8 @@ void runTests() {
*/ */
{ {
oatpp::test::web::PipelineTest test_virtual(0, 3000); // oatpp::test::web::PipelineTest test_virtual(0, 3000);
test_virtual.run(); // test_virtual.run();
oatpp::test::web::PipelineTest test_port(8000, 3000); oatpp::test::web::PipelineTest test_port(8000, 3000);
test_port.run(); test_port.run();

View File

@ -65,6 +65,7 @@ public:
std::atomic<bool> available; std::atomic<bool> available;
ENDPOINT("GET", "/", root) { ENDPOINT("GET", "/", root) {
OATPP_LOGD("AAA", "Root Called!");
return createResponse(Status::CODE_200, "Hello World!!!"); return createResponse(Status::CODE_200, "Hello World!!!");
} }