Skip to content

Commit

Permalink
✅ fix tests - wallet_list no longer sorts (#58)
Browse files Browse the repository at this point in the history
* ⬆️ Update lock file

* 🎨

* ✅ fix test - list_wallets no longer sorts
  • Loading branch information
ff137 authored Aug 30, 2024
1 parent f260c05 commit 5703e6f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion acapy_wallet_groups_plugin/v1_0/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
wallet_update,
)
from aries_cloudagent.multitenant.base import BaseError, BaseMultitenantManager
from aries_cloudagent.storage.base import DEFAULT_PAGE_SIZE
from aries_cloudagent.storage.error import StorageError, StorageNotFoundError
from aries_cloudagent.utils.endorsement_setup import (
attempt_auto_author_with_endorser_setup,
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async def test_wallets_list(self):
),
]
mock_wallet_record.query = AsyncMock()
mock_wallet_record.query.return_value = [wallets[2], wallets[0], wallets[1]]
mock_wallet_record.query.return_value = wallets

await test_module.wallets_list(self.request)
mock_response.assert_called_once_with(
Expand Down

0 comments on commit 5703e6f

Please sign in to comment.