mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-15 05:04:09 +02:00
[ticket/17535] Update PHPUnit to v.10
PHPBB-17535
This commit is contained in:
@@ -33,12 +33,12 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
|
||||
->will($this->returnCallback(array($this, 'return_callback_implode')));
|
||||
|
||||
$lang = $this->getMockBuilder('\phpbb\profilefields\lang_helper')
|
||||
->setMethods(array('get_options_lang', 'is_set', 'get'))
|
||||
->onlyMethods(array('load_option_lang', 'is_set', 'get'))
|
||||
->setConstructorArgs(array($db, LANG_TABLE))
|
||||
->getMock();
|
||||
|
||||
$lang->expects($this->any())
|
||||
->method('get_options_lang');
|
||||
->method('load_option_lang');
|
||||
|
||||
$lang->expects($this->any())
|
||||
->method('is_set')
|
||||
|
@@ -35,12 +35,12 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
|
||||
$template = $this->createMock('\phpbb\template\template');
|
||||
|
||||
$lang = $this->getMockBuilder('\phpbb\profilefields\lang_helper')
|
||||
->setMethods(array('get_options_lang', 'is_set', 'get'))
|
||||
->onlyMethods(array('load_option_lang', 'is_set', 'get'))
|
||||
->setConstructorArgs(array($db, LANG_TABLE))
|
||||
->getMock();
|
||||
|
||||
$lang->expects($this->any())
|
||||
->method('get_options_lang');
|
||||
->method('load_option_lang');
|
||||
|
||||
$lang->expects($this->any())
|
||||
->method('is_set')
|
||||
|
Reference in New Issue
Block a user