diff --git a/tests/test_wellmodel.cpp b/tests/test_wellmodel.cpp index d1463f9e2..42e0908e4 100644 --- a/tests/test_wellmodel.cpp +++ b/tests/test_wellmodel.cpp @@ -72,7 +72,7 @@ struct SetupTest { const Opm::TableManager table ( deck ); const Opm::Eclipse3DProperties eclipseProperties ( deck , table, ecl_state->getInputGrid()); const Opm::Runspec runspec (deck); - schedule.reset( new Opm::Schedule(deck, ecl_state->getInputGrid(), eclipseProperties, runspec)); + schedule.reset( new Opm::Schedule(deck, *ecl_state)); summaryState.reset( new Opm::SummaryState(std::chrono::system_clock::from_time_t(schedule->getStartTime()))); } current_timestep = 0;