Skip to content

Commit

Permalink
Fix missed notification references
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed Mar 19, 2024
1 parent a34205b commit a0ac46c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ars/adapters/outbound/event_pub.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class EventPubTranslatorConfig(BaseSettings):


class EventPubTranslator(EventPublisherPort):
"""Translator from NotificationEmitterPort to EventPublisherProtocol."""
"""Translator from EventPublisherPort to EventPublisherProtocol."""

def __init__(
self,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def test_create_access_request(
kafka = joint_fixture.kafka
topic = joint_fixture.config.access_request_events_topic
async with kafka.record_events(in_topic=topic):
pass # skip previous notifications
pass # skip previous events
async with kafka.record_events(in_topic=topic) as recorder:
response = await joint_fixture.rest_client.post(
"/access-requests", json=CREATION_DATA, headers=auth_headers_doe
Expand Down Expand Up @@ -319,7 +319,7 @@ async def test_patch_access_request(
kafka = joint_fixture.kafka
topic = joint_fixture.config.access_request_events_topic
async with kafka.record_events(in_topic=topic):
pass # skip previous notifications
pass # skip previous events
async with kafka.record_events(in_topic=topic) as recorder:
response = await joint_fixture.rest_client.patch(
f"/access-requests/{access_request_id}",
Expand Down

0 comments on commit a0ac46c

Please sign in to comment.