diff --git a/unittest/SofaCaribou/Forcefield/test_hyperelasticforcefield.cpp b/unittest/SofaCaribou/Forcefield/test_hyperelasticforcefield.cpp index 074b26d7..8ee58840 100644 --- a/unittest/SofaCaribou/Forcefield/test_hyperelasticforcefield.cpp +++ b/unittest/SofaCaribou/Forcefield/test_hyperelasticforcefield.cpp @@ -25,6 +25,7 @@ TEST(HyperelasticForcefield, Hexahedron_from_SOFA) { auto root = getSimulation()->createNewNode("root"); createObject(root, "DefaultAnimationLoop"); createObject(root, "DefaultVisualManagerLoop"); + createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.StateContainer"}}); createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Constraint.Projective"}}); createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Engine.Select"}}); createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Topology.Container.Grid"}}); diff --git a/unittest/SofaCaribou/Mass/test_cariboumass.cpp b/unittest/SofaCaribou/Mass/test_cariboumass.cpp index bbb08a1f..9f73b1a0 100644 --- a/unittest/SofaCaribou/Mass/test_cariboumass.cpp +++ b/unittest/SofaCaribou/Mass/test_cariboumass.cpp @@ -30,7 +30,9 @@ TEST(CaribouMass, LinearTetrahedron) { EXPECT_MSG_NOEMIT(Error); auto root = getSimulation()->createNewNode("root"); + createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Mass"}}); createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Engine.Select"}}); + createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Topology.Container.Grid"}}); createObject(root, "RequiredPlugin", {{"pluginName", "Sofa.Component.Topology.Mapping"}}); // Some component to avoid warnings