Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian Masar committed Nov 21, 2024
1 parent 3d9748b commit 5a3bbd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_virtual_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def test_get_all_virtual_accounts(self):
def test_deactivate_virtual_account(self):
virtual_account = BaseTestLive.create_new_virtual_account()
wallet = BaseTestLive.get_johns_wallet()
deactivated = VirtualAccount.update(virtual_account.id, **{'wallet_id': wallet.id})

result_dict = VirtualAccount.update(virtual_account.id, **{'wallet_id': wallet.id}).execute()
deactivated = VirtualAccount(**result_dict)

self.assertIsNotNone(deactivated)
self.assertEqual(virtual_account.id, deactivated.id)
Expand Down

0 comments on commit 5a3bbd9

Please sign in to comment.