Skip to content

Commit d142074

Browse files
committed
Fix tests
1 parent 7786320 commit d142074

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

packages/sharing-smart-contract/test/e2e/utils/loadFixture.test.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,18 @@ export async function deploySCFixture() {
3232

3333
// DataProtectorSharing
3434
const DataProtectorSharingFactory = await ethers.getContractFactory('DataProtectorSharing');
35-
const dataProtectorSharingContract = await upgrades.deployProxy(DataProtectorSharingFactory, {
36-
kind: 'transparent',
37-
constructorArgs: [
38-
POCO_ADDRESS,
39-
DATASET_REGISTRY_ADDRESS,
40-
addOnlyAppWhitelistRegistryAddress,
41-
],
42-
});
35+
const dataProtectorSharingContract = await upgrades.deployProxy(
36+
DataProtectorSharingFactory,
37+
[owner.address],
38+
{
39+
kind: 'transparent',
40+
constructorArgs: [
41+
POCO_ADDRESS,
42+
DATASET_REGISTRY_ADDRESS,
43+
addOnlyAppWhitelistRegistryAddress,
44+
],
45+
},
46+
);
4347
await dataProtectorSharingContract.waitForDeployment();
4448

4549
// Poco

0 commit comments

Comments
 (0)