From 5d4b2f96ff642b0c93dece63934b46b60096805d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Mon, 8 Jan 2024 17:37:07 +0100 Subject: [PATCH] Cosmetic improvement --- .../test/integration-testing/governance-plugins-setup.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/contracts/test/integration-testing/governance-plugins-setup.ts b/packages/contracts/test/integration-testing/governance-plugins-setup.ts index 3ae78d7..bc0edda 100644 --- a/packages/contracts/test/integration-testing/governance-plugins-setup.ts +++ b/packages/contracts/test/integration-testing/governance-plugins-setup.ts @@ -11,7 +11,7 @@ import { } from '../../typechain'; import {PluginSetupRefStruct} from '../../typechain/@aragon/osx/framework/dao/DAOFactory'; import {osxContracts} from '../../utils/helpers'; -import {PluginRepoInfo, getPluginRepoInfo} from '../../utils/plugin-repo-info'; +import {getPluginRepoInfo} from '../../utils/plugin-repo-info'; import {installPlugin, uninstallPlugin} from '../helpers/setup'; import {deployTestDao} from '../helpers/test-dao'; import {ADDRESS_ZERO} from '../unit-testing/common'; @@ -27,7 +27,6 @@ import {ethers} from 'hardhat'; const release = 1; const hardhatForkNetwork = process.env.NETWORK_NAME ?? 'mainnet'; -let pluginRepoInfo: PluginRepoInfo; const pluginSettings: MajorityVotingBase.VotingSettingsStruct = { minDuration: 60 * 60 * 24, minParticipation: 1, @@ -47,14 +46,13 @@ describe('GovernancePluginsSetup processing', function () { before(async () => { [deployer] = await ethers.getSigners(); - const pri = getPluginRepoInfo( + const pluginRepoInfo = getPluginRepoInfo( GovernancePluginsSetupParams.PLUGIN_REPO_ENS_NAME, 'hardhat' ); - if (!pri) { + if (!pluginRepoInfo) { throw new Error('The plugin setup details are not available'); } - pluginRepoInfo = pri; // PSP psp = PluginSetupProcessor__factory.connect(