diff --git a/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/iidm/TestDisconnectedComponentsBusBreaker.java b/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/iidm/TestDisconnectedComponentsBusBreaker.java index 20a7632fb..89cdbb4a9 100644 --- a/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/iidm/TestDisconnectedComponentsBusBreaker.java +++ b/single-line-diagram/single-line-diagram-core/src/test/java/com/powsybl/sld/iidm/TestDisconnectedComponentsBusBreaker.java @@ -9,6 +9,7 @@ import com.powsybl.commons.config.BaseVoltagesConfig; import com.powsybl.commons.config.ModuleConfigRepository; import com.powsybl.commons.config.PlatformConfig; +import com.powsybl.diagram.test.Networks; import com.powsybl.iidm.network.Branch; import com.powsybl.iidm.network.ThreeWindingsTransformer; import com.powsybl.sld.builders.NetworkGraphBuilder; @@ -36,7 +37,7 @@ public StyleProvider getDefaultDiagramStyleProvider() { @BeforeEach public void setUp() { - network = CreateNetworksUtil.createBusBreakerNetworkWithInternalBranches("TestInternalBranchesBusBreaker", "test"); + network = Networks.createBusBreakerNetworkWithInternalBranches("TestInternalBranchesBusBreaker", "test"); substation = network.getSubstation("S1"); }