diff --git a/tests/test_ug.cpp b/tests/test_ug.cpp index 10f2c4af..91f43ed1 100644 --- a/tests/test_ug.cpp +++ b/tests/test_ug.cpp @@ -76,9 +76,7 @@ BOOST_AUTO_TEST_CASE(EqualEclipseGrid) { Opm::ParserPtr parser(new Opm::Parser() ); Opm::DeckConstPtr deck = parser->parseFile( filename ); - std::shared_ptr runspecSection(new Opm::RUNSPECSection(deck) ); - std::shared_ptr gridSection(new Opm::GRIDSection(deck) ); - std::shared_ptr grid(new Opm::EclipseGrid( runspecSection , gridSection )); + std::shared_ptr grid(new Opm::EclipseGrid(deck)); Opm::GridManager gridM(grid); const UnstructuredGrid* cgrid1 = gridM.c_grid();