fix login test

This commit is contained in:
Ondřej Fischer 2019-11-07 12:57:27 +01:00
parent b914b1c11d
commit a324e390ae

View File

@ -8,7 +8,7 @@ void UnitTest::initTestCase()
void UnitTest::loginSuccessfully()
{
RequestManager testAccess;
QSignalSpy spy(&testAccess, &RequestManager::responseReady);
QSignalSpy spy(&testAccess, &RequestManager::successLogin);
QVERIFY(spy.isValid());
testAccess.login();
spy.wait(timeout);