Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix test
  • Loading branch information
3nids committed Jun 23, 2021
1 parent 7ecfd23 commit c7eb0e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/core/testqgsauthmanager.cpp
Expand Up @@ -377,7 +377,8 @@ void TestQgsAuthManager::testAuthMethods()
QString configid( config.id() );

// correct method, loaded from core auth method plugin registry, should be returned
const QgsAuthMethodMetadata *meta = authm->authMethodMetadata( configid );
const QString key = authm->configAuthMethodKey( configid );
const QgsAuthMethodMetadata *meta = authm->authMethodMetadata( key );
QVERIFY( meta );
QCOMPARE( meta->key(), config.method() );
}
Expand Down

0 comments on commit c7eb0e3

Please sign in to comment.