mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
This commit is contained in:
@@ -76,7 +76,7 @@ class phpbb_text_processing_generate_text_for_display_test extends phpbb_test_ca
|
||||
|
||||
$config = new \phpbb\config\config(array('allow_nocensors' => true));
|
||||
|
||||
$auth = $this->getMock('phpbb\\auth\\auth');
|
||||
$auth = $this->createMock('phpbb\\auth\\auth');
|
||||
$auth->expects($this->any())
|
||||
->method('acl_get')
|
||||
->with('u_chgcensors')
|
||||
|
Reference in New Issue
Block a user