Commit 041d509f authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

year was somehow always there: update after the fix in database

there is one less line i n the model after a bug in database has been
fixed
parent 60cee1c0
Pipeline #40823 passed with stage
in 25 seconds
......@@ -112,7 +112,7 @@ private Q_SLOTS:
QCOMPARE(dataChangedSpy.count(), 0);
QCOMPARE(beginRemovedRowsSpy.count(), 0);
QCOMPARE(endRemovedRowsSpy.count(), 0);
QCOMPARE(myModel.rowCount(), 13);
QCOMPARE(myModel.rowCount(), 12);
musicDb.trackHasStartedPlaying(QUrl::fromLocalFile(QStringLiteral("/$2")), QDateTime::currentDateTime());
......@@ -123,7 +123,7 @@ private Q_SLOTS:
QCOMPARE(dataChangedSpy.count(), 0);
QCOMPARE(beginRemovedRowsSpy.count(), 0);
QCOMPARE(endRemovedRowsSpy.count(), 0);
QCOMPARE(myModel.rowCount(), 13);
QCOMPARE(myModel.rowCount(), 12);
musicDb.trackHasStartedPlaying(QUrl::fromLocalFile(QStringLiteral("/$1")), QDateTime::currentDateTime());
......@@ -134,7 +134,7 @@ private Q_SLOTS:
QCOMPARE(dataChangedSpy.count(), 0);
QCOMPARE(beginRemovedRowsSpy.count(), 0);
QCOMPARE(endRemovedRowsSpy.count(), 0);
QCOMPARE(myModel.rowCount(), 14);
QCOMPARE(myModel.rowCount(), 13);
}
};
......
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