Skip to content

Commit 158f780

Browse files
fix: test
1 parent 4793012 commit 158f780

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/notifications/tests/unit/test_send_email_tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ async def test_account_requested(
2626
notifications_rabbitmq_rpc_client: RabbitMQRPCClient,
2727
faker: Faker,
2828
):
29-
email = faker.email()
29+
user_email = faker.email()
3030

3131
await send_notification(
3232
notifications_rabbitmq_rpc_client,
3333
notification=Notification(
3434
event=AccountRequestedEvent(
3535
first_name=faker.first_name(),
3636
last_name=faker.last_name(),
37-
email=email,
37+
email=user_email,
3838
),
3939
channel=EmailChannel(
4040
from_addr=EmailAddress(addr_spec=faker.email()),
4141
to_addr=EmailAddress(
42-
addr_spec=email,
42+
addr_spec=user_email,
4343
),
4444
),
4545
),

0 commit comments

Comments
 (0)