Files
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

15 lines
461 B
C++

// Route: /app1/app1/app1/whoami (application chaining, depth 3)
#include "support/Assert.hpp"
using namespace molo::example::test;
int main() {
Fixture f;
auto res = f.client->get("/app1/app1/app1/whoami");
check(res.status == 200, "status 200");
check(contains(res.body, "\"depth\":3"), "three mounts merged");
auto shallow = f.client->get("/app1/whoami");
check(shallow.status == 404, "partial chain is 404");
return finish("chain/deep");
}