1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-01 04:22:11 +02:00

[ticket/15342] Fix test

PHPBB3-15342
This commit is contained in:
Rubén Calvo
2018-06-19 18:31:21 +02:00
parent 22b2e95531
commit f9c1901317
9 changed files with 21 additions and 24 deletions

View File

@@ -304,7 +304,7 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case
$adapter_factory_mock->expects($this->any())
->method('get')
->willReturn($adapter);
$storage = new \phpbb\storage\storage($adapter_factory_mock, '');
$storage = $this->createMock('\phpbb\storage\storage');
// Create auth mock
$auth = $this->createMock('\phpbb\auth\auth');