diff --git a/open-reac/src/test/java/com/powsybl/openreac/optimization/OpenReacOptimizationIndicatorsTest.java b/open-reac/src/test/java/com/powsybl/openreac/optimization/OpenReacOptimizationIndicatorsTest.java index f0969568..ceff1c4c 100644 --- a/open-reac/src/test/java/com/powsybl/openreac/optimization/OpenReacOptimizationIndicatorsTest.java +++ b/open-reac/src/test/java/com/powsybl/openreac/optimization/OpenReacOptimizationIndicatorsTest.java @@ -11,6 +11,7 @@ import com.powsybl.iidm.network.Network; import com.powsybl.iidm.network.StaticVarCompensator; import com.powsybl.openreac.network.HvdcNetworkFactory; +import com.powsybl.openreac.network.ShuntNetworkFactory; import com.powsybl.openreac.network.VoltageControlNetworkFactory; import com.powsybl.openreac.parameters.input.OpenReacParameters; import com.powsybl.openreac.parameters.input.algo.OpenReacAmplLogLevel; @@ -182,7 +183,7 @@ void testLccIndicators() throws IOException { @Test void testShuntsIndicators() throws IOException { - Network network = OpenReacOptimizationAndLoadFlowTest.create(); + Network network = ShuntNetworkFactory.createWithLinearModel(); // add one shunt that will be fixed in optimization network.getVoltageLevel("vl3").newShuntCompensator() .setId("SHUNT2")