mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-28 10:09:15 +02: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
@ -42,10 +42,10 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
'phpbb_functional_test_case' => array('config', 'already_installed'),
|
||||
);
|
||||
|
||||
if (!self::$already_installed)
|
||||
if (!static::$already_installed)
|
||||
{
|
||||
$this->install_board();
|
||||
self::$already_installed = true;
|
||||
static::$already_installed = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user