forked from ondra/colnod-connector
fix login test
This commit is contained in:
parent
b914b1c11d
commit
a324e390ae
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user