diff --git a/tests/beekeepy_test/handle/api_tests/test_api_close.py b/tests/beekeepy_test/handle/api_tests/test_api_close.py
index 53999acff35c3a1fcf89410d61231ce88834e609..2a638545435151652a7167e429c113d3ba8fc09c 100644
--- a/tests/beekeepy_test/handle/api_tests/test_api_close.py
+++ b/tests/beekeepy_test/handle/api_tests/test_api_close.py
@@ -51,8 +51,7 @@ def test_api_close_double_close(
     beekeeper.api.close(wallet_name=wallet.name)
 
     # ASSERT
-    with pytest.raises(ErrorInResponseError, match=f"Wallet not found: {wallet.name}"):
-        beekeeper.api.close(wallet_name=wallet.name)
+    beekeeper.api.close(wallet_name=wallet.name)
 
 
 def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None:
@@ -61,5 +60,4 @@ def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None:
     wallet = WalletInfo(password=generate_wallet_password(), name=generate_wallet_name())
 
     # ACT & ASSERT
-    with pytest.raises(ErrorInResponseError, match=f"Wallet not found: {wallet.name}"):
-        beekeeper.api.close(wallet_name=wallet.name)
+    beekeeper.api.close(wallet_name=wallet.name)