Commit 4f570c27 authored by Volker Krause's avatar Volker Krause
Browse files

Fix unit test ASAN error when KItinerary is built without ZXing

parent 6084727f
......@@ -62,11 +62,14 @@ private Q_SLOTS:
DocumentManager docMgr;
Test::clearAll(&docMgr);
HealthCertificateManager healthCertMgr;
ApplicationController appController;
QSignalSpy infoSpy(&appController, &ApplicationController::infoMessage);
appController.setPkPassManager(&passMgr);
appController.setReservationManager(&resMgr);
appController.setDocumentManager(&docMgr);
appController.setHealthCertificateManager(&healthCertMgr);
appController.importData(readFile(QLatin1String(SOURCE_DIR "/data/4U8465-v1.json")));
QCOMPARE(resSpy.size(), 1);
......
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