We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b2a6a commit 721c762Copy full SHA for 721c762
app/test/testmerginapi.cpp
@@ -2969,7 +2969,9 @@ void TestMerginApi::testUpdateProjectMetadataRole()
2969
QCOMPARE( cachedRole, QString( "reader" ) );
2970
2971
// 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 );
2973
mApi->reloadProjectRole( fullProjectName );
2974
+ QVERIFY( spy.wait() );
2975
cachedRole = mApi->getCachedProjectRole( fullProjectName );
2976
QCOMPARE( cachedRole, QString( "owner" ) );
2977
0 commit comments