mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fixed API test cases for Kerberose.
This commit is contained in:
parent
9229156cf6
commit
94d2ad9584
@ -91,7 +91,6 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
|
||||
|
||||
def tearDown(self):
|
||||
self.app.PGADMIN_EXTERNAL_AUTH_SOURCE = 'ldap'
|
||||
self.tester.logout()
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
@ -99,6 +98,5 @@ class KerberosLoginMockTestCase(BaseTestGenerator):
|
||||
We need to again login the test client as soon as test scenarios
|
||||
finishes.
|
||||
"""
|
||||
cls.tester.logout()
|
||||
app_config.AUTHENTICATION_SOURCES = ['internal']
|
||||
utils.login_tester_account(cls.tester)
|
||||
|
Loading…
Reference in New Issue
Block a user