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() void UnitTest::loginSuccessfully()
{ {
RequestManager testAccess; RequestManager testAccess;
QSignalSpy spy(&testAccess, &RequestManager::responseReady); QSignalSpy spy(&testAccess, &RequestManager::successLogin);
QVERIFY(spy.isValid()); QVERIFY(spy.isValid());
testAccess.login(); testAccess.login();
spy.wait(timeout); spy.wait(timeout);