mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-22 08:30:26 +01:00
[ticket/15342] Remove unused variables
PHPBB3-15342
This commit is contained in:
parent
a3d949c3d0
commit
238247b5fc
@ -298,12 +298,6 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case
|
||||
$db = $this->new_dbal();
|
||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||
|
||||
$adapter = new \phpbb\storage\adapter\local(new \phpbb\filesystem\filesystem(), new \FastImageSize\FastImageSize(), new \phpbb\mimetype\guesser(array(new \phpbb\mimetype\extension_guesser)), $phpbb_root_path);
|
||||
$adapter->configure(['path' => 'files']);
|
||||
$adapter_factory_mock = $this->createMock('\phpbb\storage\adapter_factory');
|
||||
$adapter_factory_mock->expects($this->any())
|
||||
->method('get')
|
||||
->willReturn($adapter);
|
||||
$storage = $this->createMock('\phpbb\storage\storage');
|
||||
|
||||
// Create auth mock
|
||||
|
Loading…
x
Reference in New Issue
Block a user