Skip to content

Commit

Permalink
Merge branch 'main' into 6-integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchaymittal committed May 18, 2024
2 parents b01d68f + b6940f7 commit 645af59
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/unit/QWRegistry.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ contract UnitQWRegistryTest is Test, SmockHelper {
MockQWManager public mockQWManager;
MockQWAave public mockQWAave;

function beforeEach() public {
function setUp() public {
mockQWManager = MockQWManager(
deployMock(
"QWManager",
Expand All @@ -42,14 +42,12 @@ contract UnitQWRegistryTest is Test, SmockHelper {
}

function testRegisterChild() public {
vm.skip(true);

address validChildContract = address(mockQWAave);
// Record logs to capture emitted events
vm.recordLogs();

// Call registerChild function on the mock contract
// mockQWRegistry.registerChild(validChildContract);
mockQWRegistry.registerChild(validChildContract);

// Assert that the child contract is whitelisted after registration
assertTrue(
Expand Down

0 comments on commit 645af59

Please sign in to comment.