Commit 0c13720c authored by Volker Krause's avatar Volker Krause
Browse files

Add more tests for pass updates

parent 629925eb
......@@ -38,6 +38,8 @@ private slots:
QCOMPARE(pass->type(), KPkPass::Pass::BoardingPass);
QCOMPARE(pass->logoText(), QLatin1String("Boarding Pass"));
QCOMPARE(pass->backgroundColor(), QColor(61, 174, 233));
QCOMPARE(pass->relevantDate(), QDateTime(QDate(2017, 9, 17), QTime(0, 4, 0), Qt::UTC));
QCOMPARE(pass->fields().size(), 12);
auto headers = pass->headerFields();
QCOMPARE(headers.size(), 2);
......
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