Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Nov 1, 2024
1 parent e998bc3 commit 996d5eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/test/registry/TestRegistry.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ contract TestRegistry is Setup {

function setUp() public override {
super.setUp();
strategy = new MockStrategy(address(asset), "3.0.3");
strategy = new MockStrategy(address(asset), "3.0.4");
}

function test__set_up() public {
Expand Down Expand Up @@ -724,7 +724,7 @@ contract TestRegistry is Setup {
vm.prank(daddy);
registry.endorseSingleStrategyVault(address(strategy));

MockStrategy secondStrategy = new MockStrategy(address(asset), "3.0.3");
MockStrategy secondStrategy = new MockStrategy(address(asset), "3.0.4");
vm.prank(daddy);
registry.endorseSingleStrategyVault(address(secondStrategy));

Expand Down
2 changes: 1 addition & 1 deletion src/test/registry/TestReleaseRegistry.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ contract TestReleaseRegistry is Setup {
assertEq(releaseRegistry.numReleases(), 0);
assertEq(releaseRegistry.factories(0), address(0));
assertEq(releaseRegistry.tokenizedStrategies(0), address(0));
assertEq(releaseRegistry.releaseTargets("3.0.3"), 0);
assertEq(releaseRegistry.releaseTargets("3.0.4"), 0);
}

function test_new_release() public {
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/Setup.sol
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ contract Setup is ExtendedTest {
}

function createStrategy(address _asset) public returns (MockStrategy) {
return new MockStrategy(_asset, "3.0.3");
return new MockStrategy(_asset, "3.0.4");
}

function deployMockTokenized(
Expand Down

0 comments on commit 996d5eb

Please sign in to comment.