[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:
Igor Wiedler 2011-10-14 19:37:20 +02:00
parent 99d6f00d51
commit 66b0cfe221

View file

@ -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;
} }
} }