diff options
Diffstat (limited to 'tests/error_collector_test.php')
| -rw-r--r-- | tests/error_collector_test.php | 11 | 
1 files changed, 9 insertions, 2 deletions
| diff --git a/tests/error_collector_test.php b/tests/error_collector_test.php index b92c4fa6bb..273284c8fc 100644 --- a/tests/error_collector_test.php +++ b/tests/error_collector_test.php @@ -11,10 +11,17 @@  *  */ -require_once dirname(__FILE__) . '/../phpBB/includes/functions.php'; -  class phpbb_error_collector_test extends phpbb_test_case  { +	public function setUp() +	{ +		parent::setUp(); + +		global $phpbb_filesystem; + +		$phpbb_filesystem = new \phpbb\filesystem\filesystem(); +	} +  	public function test_collection()  	{  		$collector = new \phpbb\error_collector(E_ALL | E_STRICT); // php set_error_handler() default | 
