mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
This commit is contained in:
@@ -286,7 +286,7 @@ class phpbb_textformatter_s9e_factory_test extends phpbb_database_test_case
|
||||
*/
|
||||
public function test_configure_events()
|
||||
{
|
||||
$this->dispatcher = $this->getMock('phpbb\\event\\dispatcher_interface');
|
||||
$this->dispatcher = $this->createMock('phpbb\\event\\dispatcher_interface');
|
||||
$this->dispatcher
|
||||
->expects($this->at(0))
|
||||
->method('trigger_event')
|
||||
|
Reference in New Issue
Block a user