mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/functional-tests] Make sure functional tests only install once
The functional test setup bootstrapping should only be run once per class. PHPBB3-10414
This commit is contained in:
parent
99d6f00d51
commit
66b0cfe221
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||||
'phpbb_functional_test_case' => array('config', 'already_installed'),
|
'phpbb_functional_test_case' => array('config', 'already_installed'),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!self::$already_installed)
|
if (!static::$already_installed)
|
||||||
{
|
{
|
||||||
$this->install_board();
|
$this->install_board();
|
||||||
self::$already_installed = true;
|
static::$already_installed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue