mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/17535] Update PHPUnit to v.10
PHPBB-17535
This commit is contained in:
@@ -101,7 +101,7 @@ class phpbb_group_helper_test_case extends phpbb_test_case
|
||||
// Set up path helper
|
||||
$path_helper = $this->getMockBuilder('\phpbb\path_helper')
|
||||
->disableOriginalConstructor()
|
||||
->setMethods(array())
|
||||
->onlyMethods(['get_phpbb_root_path', 'get_php_ext', 'update_web_root_path'])
|
||||
->getMock();
|
||||
$path_helper->method('get_phpbb_root_path')
|
||||
->willReturn($phpbb_root_path);
|
||||
|
Reference in New Issue
Block a user