diff --git a/test/test_subsystems.jl b/test/test_subsystems.jl index 5d7f5360dd..52d82b76ba 100644 --- a/test/test_subsystems.jl +++ b/test/test_subsystems.jl @@ -556,7 +556,7 @@ end @test length( get_components(ThermalStandard, c_sys5; subsystem_name = "subsystem_1"), ) == 5 - name = get_name(components[14]) + name = get_name(get_component(PowerLoad, c_sys5, "Load-nodeB2")) @test collect( get_components( x -> x.name == name,