aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-06-25 13:18:27 +0200
committerRubén Calvo <rubencm@gmail.com>2018-07-11 09:27:08 +0200
commit238247b5fc390e1172f31f021deb1aaa937b3484 (patch)
tree77a34e38fb7176001023903e781316d220289b4a /tests/content_visibility
parent[ticket/15342] Fix migration (diff)
downloadphpbb-238247b5fc390e1172f31f021deb1aaa937b3484.tar.gz
phpbb-238247b5fc390e1172f31f021deb1aaa937b3484.tar.bz2
phpbb-238247b5fc390e1172f31f021deb1aaa937b3484.zip
[ticket/15342] Remove unused variables
PHPBB3-15342
Diffstat (limited to 'tests/content_visibility')
-rw-r--r--tests/content_visibility/delete_post_test.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/content_visibility/delete_post_test.php b/tests/content_visibility/delete_post_test.php
index 9454c90202..2007aad194 100644
--- a/tests/content_visibility/delete_post_test.php
+++ b/tests/content_visibility/delete_post_test.php
@@ -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