Skip to content

Commit eb1f86a

Browse files
authored
Merge pull request #4559 from opsmill/lgu-fix-test-schema-integrity
Fix test_schema_integrity graphql mock endpoint
2 parents c9a1ca5 + 96adb81 commit eb1f86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/tests/unit/message_bus/operations/requests/test_proposed_change.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def test_schema_integrity(
288288
branch2_schema.set(name="TestPerson", schema=person_schema)
289289

290290
# Ignore creation of Task Report response
291-
httpx_mock.add_response(method="POST", url="http://mock/graphql", json={"data": {}})
291+
httpx_mock.add_response(method="POST", url="http://mock/graphql/main", json={"data": {}})
292292
await proposed_change.schema_integrity(message=schema_integrity_01, service=service_all)
293293

294294
checks = await registry.manager.query(db=db, schema=InfrahubKind.SCHEMACHECK)

0 commit comments

Comments
 (0)