1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 02:51:35 +02:00

[ticket/17422] Fix tests

PHPBB-17422
This commit is contained in:
rxu
2024-10-31 09:29:25 +07:00
parent eeede1ab6c
commit 7086fa746f

View File

@@ -24,7 +24,8 @@ class phpbb_functional_ucp_attachments_test extends phpbb_functional_test_case
$this->path = __DIR__ . '/fixtures/files/';
$this->add_lang('posting');
if (!$this->user_exists('ucp-file-test'))
$username = 'ucp-file-test';
if (!$this->user_exists($username))
{
$this->create_user('ucp-file-test');
}