Skip to content

Commit

Permalink
Update InteropBindingTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
schwartz-concordium committed Jan 26, 2024
1 parent bbec468 commit 339b12d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/UnitTests/Interop/InteropBindingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public async Task GivenBadSchema_WhenDisplayEvent_ThenThrowException()
var contractEvent = new ContractEvent(Convert.FromHexString(value));

// Act
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);

// Assert
action.Should().Throw<InteropBindingException>()
Expand All @@ -231,7 +231,7 @@ public async Task GivenBadContractIdentifier_WhenDisplayEvent_ThenThrowException
var contractEvent = new ContractEvent(Convert.FromHexString(value));

// Act
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);

// Assert
action.Should().Throw<InteropBindingException>()
Expand All @@ -252,7 +252,7 @@ public async Task GivenBadContractEvent_WhenDisplayEvent_ThenThrowException()
var contractEvent = new ContractEvent(Convert.FromHexString(value)[..^3]); // Bad contract event

// Act
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);
var action = () => InteropBinding.GetEventContract(versionedModuleSchema, contractIdentifier, contractEvent);

// Assert
action.Should().Throw<InteropBindingException>()
Expand Down

0 comments on commit 339b12d

Please sign in to comment.