Files
moloapp/tests/example/restclient/self_test.cpp
T
retoor 3c4334cec9 feat: implement MoloApp plans 01-15 with integration
Full C++23 framework tree: runtime, observability, security,
data, app, realtime, supervisor, clients, CLI, example plus
enterprise tenancy, audit, operability, governance,
supplychain. Postgres via docker compose for tests.
2026-10-23 18:20:04 +02:00

13 lines
354 B
C++

// Route: GET /restclient/self (REST client self-call)
#include "support/Assert.hpp"
using namespace molo::example::test;
int main() {
Fixture f;
auto res = f.client->get("/restclient/self");
check(res.status == 200, "status 200");
check(contains(res.body, "\"self_call\":200"), "self call reached 200");
return finish("restclient/self");
}