Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshihitoAso committed Jan 6, 2025
1 parent cc6b20c commit 33f4ce2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/app/test_notifications_ListAllNotifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def test_normal_1(self, client, db):
_notification_6.code = 1
_notification_6.metainfo = {
"upload_id": str(uuid.uuid4()),
"token_address": test_token_address,
"error_registration_id": [1, 2, 3],
}
_notification_6.created = datetime.strptime(
Expand Down Expand Up @@ -307,7 +308,11 @@ def test_normal_1(self, client, db):
"priority": 0,
"notice_type": NotificationType.BATCH_REGISTER_PERSONAL_INFO_ERROR,
"notice_code": 1,
"metainfo": {"upload_id": ANY, "error_registration_id": [1, 2, 3]},
"metainfo": {
"upload_id": ANY,
"token_address": test_token_address,
"error_registration_id": [1, 2, 3],
},
"created": "2022-01-06T09:20:30+09:00",
},
{
Expand Down Expand Up @@ -460,7 +465,7 @@ def test_normal_2(self, client, db):
resp = client.get(
self.base_url,
params={
"notice_type": NotificationType.SCHEDULE_EVENT_ERROR.value,
"notice_type": NotificationType.SCHEDULE_EVENT_ERROR,
},
headers={
"issuer-address": issuer_address_1,
Expand Down

0 comments on commit 33f4ce2

Please sign in to comment.