Carlo Teubner 2024-06-14 20:22:55 +01:00 committed by Jonathan White
parent e7f9d58541
commit f19d254a0c
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -922,7 +922,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