Skip to content
Permalink
Browse files
fix test
  • Loading branch information
3nids committed Jun 23, 2021
1 parent 7ecfd23 commit c7eb0e3eeffe41286f46396f48ee306fd98a48b3
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/testqgsauthmanager.cpp
@@ -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() );
}

0 comments on commit c7eb0e3

Please sign in to comment.