Skip to content

Commit

Permalink
✅ fix expected response in tests
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <[email protected]>
  • Loading branch information
ff137 committed May 22, 2024
1 parent 13d3edb commit 06530d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/revocation/tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async def test_publish_revocations(self):
await test_module.publish_revocations(self.request)

mock_response.assert_called_once_with(
{"rrid2crid": pub_pending.return_value}
{"sent": {"rrid2crid": pub_pending.return_value}}
)

async def test_publish_revocations_x(self):
Expand Down Expand Up @@ -330,7 +330,7 @@ async def test_publish_revocations_endorser(self):
await test_module.publish_revocations(self.author_request)

mock_response.assert_called_once_with(
{"rrid2crid": pub_pending.return_value}
{"sent": {"rrid2crid": pub_pending.return_value}}
)

async def test_publish_revocations_endorser_x(self):
Expand Down

0 comments on commit 06530d5

Please sign in to comment.