Skip to content

Commit

Permalink
✅ fix test after merge again
Browse files Browse the repository at this point in the history
  • Loading branch information
thurendous committed Sep 20, 2023
1 parent 7364c77 commit 86b0e92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/fuzz/FuzzTestProxyFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ contract FuzzTestProxyFactory is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(16 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, organizer, randomId_, address(distributor), dataToSendToAdmin);
vm.stopPrank();
}
Expand Down Expand Up @@ -429,7 +429,7 @@ contract FuzzTestProxyFactory is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(8.01 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, organizer, SOMEID, randomImple, dataToSendToAdmin);
vm.stopPrank();
}
Expand Down Expand Up @@ -461,7 +461,7 @@ contract FuzzTestProxyFactory is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(8.01 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, randomUsr, SOMEID, address(distributor), dataToSendToAdmin);
vm.stopPrank();
}
Expand Down
6 changes: 3 additions & 3 deletions test/integration/ProxyFactoryTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ contract ProxyFactoryTest is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(16 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, organizer, wrongId_, address(distributor), dataToSendToAdmin);
vm.stopPrank();
}
Expand Down Expand Up @@ -539,7 +539,7 @@ contract ProxyFactoryTest is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(16 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, organizer, randomId_, usdcAddress, dataToSendToAdmin);
vm.stopPrank();
}
Expand Down Expand Up @@ -568,7 +568,7 @@ contract ProxyFactoryTest is StdCheats, HelperContract {
// 15 days is the edge of close time, after that tx can go through
vm.warp(16 days);
vm.startPrank(factoryAdmin);
vm.expectRevert(ProxyFactory.ProxyFactory__ProxyAddressMismatch.selector);
vm.expectRevert(ProxyFactory.ProxyFactory__ContestIsNotRegistered.selector);
proxyFactory.distributeByOwner(proxyAddress, user1, randomId_, address(distributor), dataToSendToAdmin);
vm.stopPrank();
}
Expand Down

0 comments on commit 86b0e92

Please sign in to comment.