diff --git a/test/model_parsing.jl b/test/model_parsing.jl index 3d6da78eab..dafe46d388 100644 --- a/test/model_parsing.jl +++ b/test/model_parsing.jl @@ -689,14 +689,6 @@ end @test getdefault(component.written_out_for_2.sc) == 3 end -module GetParentModule - -using ModelingToolkit - -@mtkmodel Component begin end - -end - @testset "Parent module of Models" begin - @test parentmodule(GetParentModule.Component) == GetParentModule + @test parentmodule(MyMockModule.Ground) == MyMockModule end