Display TOTP code split in halfs

This commit is contained in:
Weslly 2017-05-03 21:26:08 -03:00
parent 4c9b8c7794
commit d3ed14ebb7
2 changed files with 6 additions and 3 deletions

View file

@ -489,7 +489,7 @@ void TestGui::testTotp()
TotpDialog* totpDialog = m_dbWidget->findChild<TotpDialog*>("TotpDialog");
QLabel* totpLabel = totpDialog->findChild<QLabel*>("totpLabel");
QCOMPARE(totpLabel->text(), entry->totp());
QCOMPARE(totpLabel->text().replace(" ", ""), entry->totp());
}
void TestGui::testSearch()