From 1871980227529024286ab0ebf5eab65f57b1df6e Mon Sep 17 00:00:00 2001 From: Erik Dubovyk Date: Thu, 8 Aug 2024 18:08:30 +0300 Subject: [PATCH] added abstraction --- .../concrete/flow/FlowConstructionInitializeTest.sol | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test/concrete/flow/FlowConstructionInitializeTest.sol b/test/concrete/flow/FlowConstructionInitializeTest.sol index f17f16b7..cd0c79a2 100644 --- a/test/concrete/flow/FlowConstructionInitializeTest.sol +++ b/test/concrete/flow/FlowConstructionInitializeTest.sol @@ -9,17 +9,9 @@ import {EvaluableConfigV3} from "rain.interpreter.interface/interface/IInterpret import {Flow} from "src/concrete/basic/Flow.sol"; import {CloneFactory} from "rain.factory/src/concrete/CloneFactory.sol"; import {FlowUtilsAbstractTest} from "test/abstract/FlowUtilsAbstractTest.sol"; +import {FlowBaseTest} from "test/abstract/FlowBaseTest.sol"; -contract FlowConstructionInitializeTest is InterpreterMockTest, FlowUtilsAbstractTest { - CloneFactory internal immutable iCloneFactory; - IFlowV5 internal immutable iFlowImplementation; - - constructor() { - vm.pauseGasMetering(); - iCloneFactory = new CloneFactory(); - iFlowImplementation = new Flow(); - vm.resumeGasMetering(); - } +contract FlowConstructionInitializeTest is FlowBaseTest { function testFlowConstructionInitialize(address expression, bytes memory bytecode, uint256[] memory constants) external