Commit 659d3032 authored by Volker Krause's avatar Volker Krause

Port applicationcontrollertest away from deprecated API

parent b497294a
......@@ -37,9 +37,11 @@ private:
void clearReservations(ReservationManager *mgr)
{
for (const auto &id : mgr->reservations()) {
mgr->removeReservation(id);
const auto batches = mgr->batches(); // copy, as this is getting modified in the process
for (const auto &id : batches) {
mgr->removeBatch(id);
}
QCOMPARE(mgr->batches().size(), 0);
}
QByteArray readFile(const QString &fn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment