Carlo Teubner 2024-06-14 20:22:55 +01:00 committed by Jonathan White
parent 647272e9c5
commit af2ba798a0

View File

@ -1030,7 +1030,7 @@ void TestGui::testTotp()
auto* totpDialog = m_dbWidget->findChild<TotpDialog*>("TotpDialog");
auto* totpLabel = totpDialog->findChild<QLabel*>("totpLabel");
QCOMPARE(totpLabel->text().replace(" ", ""), entry->totp());
QTRY_COMPARE(totpLabel->text().replace(" ", ""), entry->totp());
QTest::keyClick(totpDialog, Qt::Key_Escape);
// Test the QR code