Skip to content

Commit

Permalink
Correct error message in failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-zack committed Jan 23, 2025
1 parent d671469 commit 80a901b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rskj-core/src/test/java/co/rsk/peg/BridgeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ void registerBtcTransaction_beforeRskip199_rejectsExternalCalls() throws VMExcep
bridge.execute(data);
fail();
} catch (VMException e) {
assertEquals("Exception executing bridge: Sender is not part of the active or retiring federations, so he is not enabled to call the function 'registerBtcTransaction'", e.getMessage());
assertEquals("Exception executing bridge: The sender is not a member of the active or retiring federations and is therefore not authorized to invoke the function: 'registerBtcTransaction'", e.getMessage());
}

verify(bridgeSupportMock, never()).registerBtcTransaction(
Expand Down

0 comments on commit 80a901b

Please sign in to comment.