Skip to content
Snippets Groups Projects
Commit 36db6eee authored by wenqing's avatar wenqing
Browse files

[Unsat] Removed unused id in one xml string in unit test

parent 8642a106
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,6 @@ std::unique_ptr<CapillaryPressureSaturation> createCapillaryPressureModel(
BaseLib::ConfigTree conf(ptree, "", BaseLib::ConfigTree::onerror,
BaseLib::ConfigTree::onwarning);
auto const& sub_config = conf.getConfigSubtree("capillary_pressure");
sub_config.ignoreConfigAttribute("id");
return MaterialLib::PorousMedium::createCapillaryPressureModel(sub_config);
}
......@@ -106,7 +105,7 @@ TEST(MaterialPorousMedium, checkVanGenuchtenCapillaryPressure)
TEST(MaterialPorousMedium, checkCapillaryPressureCurve)
{
const char xml[] =
"<capillary_pressure id=\"0\">"
"<capillary_pressure>"
" <type>Curve</type>"
" <curve>"
" <coords> 0. 0.5 0.9 </coords>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment