Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 13, 2023
1 parent 8a12f7a commit 3a71717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_fork_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ def test_connect_to_polygon(networks, owner, contract_container):
"""
Ensures we don't get PoA middleware issue.
"""
# NOTE: `disconnect_after=True` because of a bug in Ape with settings not re-applying.
with networks.polygon.mumbai_fork.use_provider("foundry", disconnect_after=True):
with networks.polygon.mumbai_fork.use_provider("foundry"):
contract = owner.deploy(contract_container)
assert isinstance(contract, ContractInstance) # Didn't fail

Expand Down

0 comments on commit 3a71717

Please sign in to comment.