Commit a5b54471 authored by Volker Krause's avatar Volker Krause
Browse files

Add unit test for pass updates

parent a78b3da4
......@@ -32,7 +32,7 @@ private slots:
void testBoardingPass()
{
std::unique_ptr<KPkPass::Pass> pass(KPkPass::Pass::fromFile(QLatin1String(SOURCE_DIR "/data/boardingpass.pkpass")));
std::unique_ptr<KPkPass::Pass> pass(KPkPass::Pass::fromFile(QLatin1String(SOURCE_DIR "/data/boardingpass-v1.pkpass")));
QVERIFY(pass);
QCOMPARE(pass->type(), KPkPass::Pass::BoardingPass);
......
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