Skip to content

Commit

Permalink
Change test names
Browse files Browse the repository at this point in the history
  • Loading branch information
m-chrzan committed Sep 19, 2024
1 parent 1b82120 commit 6c965c7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ contract ValidatorsTest_Affiliate_WhenValidatorIsAlreadyAffiliatedWithValidatorG
assertTrue(election.isIneligible(group));
}

function test_ShouldSendValidatorPayment_WhenUnclaimed_WhenL2() public {
function test_ShouldSendValidatorPayment() public {
vm.expectEmit(true, true, true, true);
emit SendValidatorPaymentCalled(validator);
vm.prank(validator);
Expand Down Expand Up @@ -1515,7 +1515,7 @@ contract ValidatorsTest_Deaffiliate is ValidatorsTest {
assertTrue(election.isIneligible(group));
}

function test_ShouldSendValidatorPayment_WhenUnclaimed_WhenL2() public {
function test_ShouldSendValidatorPayment() public {
vm.expectEmit(true, true, true, true);
emit SendValidatorPaymentCalled(validator);
vm.prank(validator);
Expand Down Expand Up @@ -2595,7 +2595,7 @@ contract ValidatorsTest_UpdateCommission is ValidatorsTest {
validators.updateCommission();
}

function test_ShouldSendMultipleValidatorPayments_WhenUnclaimed_WhenL2() public {
function test_ShouldSendMultipleValidatorPayments() public {
vm.prank(group);
validators.addFirstMember(validator, address(0), address(0));
vm.prank(group);
Expand Down Expand Up @@ -3537,7 +3537,7 @@ contract ValidatorsTest_ForceDeaffiliateIfValidator is ValidatorsTest {
validators.forceDeaffiliateIfValidator(validator);
}

function test_ShouldSendValidatorPayment_WhenUnclaimed_WhenL2() public {
function test_ShouldSendValidatorPayment() public {
vm.expectEmit(true, true, true, true);
emit SendValidatorPaymentCalled(validator);
vm.prank(paymentDelegatee);
Expand Down

0 comments on commit 6c965c7

Please sign in to comment.