mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:22:37 +02:00
[ticket/17422] Fix tests
PHPBB-17422
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user