aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auth/provider_ldap_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth/provider_ldap_test.php')
-rw-r--r--tests/auth/provider_ldap_test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auth/provider_ldap_test.php b/tests/auth/provider_ldap_test.php
index 2b3c377d9e..211966875e 100644
--- a/tests/auth/provider_ldap_test.php
+++ b/tests/auth/provider_ldap_test.php
@@ -38,6 +38,7 @@ class phpbb_auth_provider_ldap_test extends phpbb_database_test_case
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
$lang = new \phpbb\language\language($lang_loader);
$this->user = new \phpbb\user($lang, '\phpbb\datetime');
+ $this->user->data['username'] = 'admin';
$this->provider = new \phpbb\auth\provider\ldap($config, $db, $lang, $this->user);
}