mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user