[ticket/17422] Fix tests

PHPBB-17422
This commit is contained in:
rxu 2024-10-31 09:29:25 +07:00
parent eeede1ab6c
commit 7086fa746f
No known key found for this signature in database
GPG key ID: 8117904FEDEFDD17

View file

@ -24,7 +24,8 @@ class phpbb_functional_ucp_attachments_test extends phpbb_functional_test_case
$this->path = __DIR__ . '/fixtures/files/'; $this->path = __DIR__ . '/fixtures/files/';
$this->add_lang('posting'); $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'); $this->create_user('ucp-file-test');
} }