Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
fix: update RoutesSpec to expect 200 for global diff without entityId
riley0227a07dd4964658
diff --git a/memory-layer/src/test/scala/ix/memory/api/RoutesSpec.scala b/memory-layer/src/test/scala/ix/memory/api/RoutesSpec.scalaindex 92589255..37803ee9 100644--- a/memory-layer/src/test/scala/ix/memory/api/RoutesSpec.scala+++ b/memory-layer/src/test/scala/ix/memory/api/RoutesSpec.scala@@ -305,9 +305,9 @@ class RoutesSpec extends AsyncFlatSpec with AsyncIOSpec with Matchers with TestD}}- // ── Test 10: POST /v1/diff returns 422 without entityId ─────────────+ // ── Test 10: POST /v1/diff returns global diff without entityId ──────- it should "return 422 for diff without entityId" in {+ it should "return 200 for global diff without entityId" in {clientResource.use { client =>val writeApi = new ArangoGraphWriteApi(client)val queryApi = new ArangoGraphQueryApi(client)@@ -323,7 +323,7 @@ class RoutesSpec extends AsyncFlatSpec with AsyncIOSpec with Matchers with TestDreq = Request[IO](Method.POST, uri"/v1/diff").withEntity(diffReq)resp <- app.run(req)} yield {- resp.status shouldBe Status.UnprocessableEntity+ resp.status shouldBe Status.Ok}}}