Skip to content

Commit f3bdfe0

Browse files
authored
Fix failing CompoundWrap tests (#66)
1 parent 700f0b2 commit f3bdfe0

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test/integration/compoundWrapModule.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ describe("compoundWrapModule", () => {
7070

7171
// compoundWrapAdapter setup
7272
const compoundLibrary = await deployer.libraries.deployCompound();
73-
const compoundWrapAdapter = await deployer.adapters.deployCompoundWrapAdapter("Compound", compoundLibrary.address);
73+
const compoundWrapAdapter = await deployer.adapters.deployCompoundWrapAdapter(
74+
"contracts/protocol/integration/lib/Compound.sol:Compound",
75+
compoundLibrary.address
76+
);
7477
await setup.integrationRegistry.addIntegration(wrapModule.address, compoundWrapAdapterIntegrationName, compoundWrapAdapter.address);
7578
});
7679

test/protocol/integration/compoundWrapAdapter.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ describe("CompoundWrapAdapter", () => {
6464
);
6565

6666
const compoundLibrary = await deployer.libraries.deployCompound();
67-
compoundWrapAdapter = await deployer.adapters.deployCompoundWrapAdapter("Compound", compoundLibrary.address);
67+
compoundWrapAdapter = await deployer.adapters.deployCompoundWrapAdapter(
68+
"contracts/protocol/integration/lib/Compound.sol:Compound",
69+
compoundLibrary.address
70+
);
6871
});
6972

7073
addSnapshotBeforeRestoreAfterEach();

0 commit comments

Comments
 (0)