diff --git a/t/externalauth/ldap.t b/t/externalauth/ldap.t index 34dcf83d03c..ef48411253c 100644 --- a/t/externalauth/ldap.t +++ b/t/externalauth/ldap.t @@ -49,10 +49,7 @@ RT->Config->Set( }, } ); - -# print "sleeping... "; -# sleep( 500 ); -# print "done\n"; +RT->Config->PostLoadCheck; my ( $baseurl, $m ) = RT::Test->started_ok(); diff --git a/t/externalauth/ldap_escaping.t b/t/externalauth/ldap_escaping.t index 0442313da48..34cb2a607cb 100644 --- a/t/externalauth/ldap_escaping.t +++ b/t/externalauth/ldap_escaping.t @@ -72,6 +72,7 @@ RT->Config->Set( }, } ); +RT->Config->PostLoadCheck; my ( $baseurl, $m ) = RT::Test->started_ok(); diff --git a/t/externalauth/ldap_group.t b/t/externalauth/ldap_group.t index a3d87a8d887..ebeea9726e4 100644 --- a/t/externalauth/ldap_group.t +++ b/t/externalauth/ldap_group.t @@ -55,7 +55,6 @@ $ldap->add( ], ); -#RT->Config->Set( Plugins => 'RT::Authen::ExternalAuth' ); RT->Config->Set( ExternalAuthPriority => ['My_LDAP'] ); RT->Config->Set( ExternalInfoPriority => ['My_LDAP'] ); RT->Config->Set( AutoCreateNonExternalUsers => 0 ); @@ -80,6 +79,7 @@ RT->Config->Set( }, } ); +RT->Config->PostLoadCheck; my ( $baseurl, $m ) = RT::Test->started_ok(); diff --git a/t/externalauth/ldap_privileged.t b/t/externalauth/ldap_privileged.t index fe5e05af916..7acdcc5ef4c 100644 --- a/t/externalauth/ldap_privileged.t +++ b/t/externalauth/ldap_privileged.t @@ -47,6 +47,7 @@ RT->Config->Set( }, } ); +RT->Config->PostLoadCheck; my ( $baseurl, $m ) = RT::Test->started_ok(); diff --git a/t/externalauth/sessions.t b/t/externalauth/sessions.t index 9b3ec362974..bb9416c99a0 100644 --- a/t/externalauth/sessions.t +++ b/t/externalauth/sessions.t @@ -117,5 +117,6 @@ sub setup_auth_source { }, } ); + RT->Config->PostLoadCheck; } diff --git a/t/externalauth/sqlite.t b/t/externalauth/sqlite.t index 9e7c2cc71eb..489aaef7e7b 100644 --- a/t/externalauth/sqlite.t +++ b/t/externalauth/sqlite.t @@ -56,6 +56,7 @@ RT->Config->Set( }, } ); +RT->Config->PostLoadCheck; my ( $baseurl, $m ) = RT::Test->started_ok();