Skip to content

Commit 721c762

Browse files
committed
fixing tests
1 parent 49b2a6a commit 721c762

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/test/testmerginapi.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2969,7 +2969,9 @@ void TestMerginApi::testUpdateProjectMetadataRole()
29692969
QCOMPARE( cachedRole, QString( "reader" ) );
29702970

29712971
// Role in server wasn't updated and stills "owner" => let's reload it from server and see if it updates in cached
2972+
QSignalSpy spy( mApi, &MerginApi::projectRoleUpdated );
29722973
mApi->reloadProjectRole( fullProjectName );
2974+
QVERIFY( spy.wait() );
29732975
cachedRole = mApi->getCachedProjectRole( fullProjectName );
29742976
QCOMPARE( cachedRole, QString( "owner" ) );
29752977

0 commit comments

Comments
 (0)