aboutsummaryrefslogtreecommitdiffstats
path: root/tests/attachment/delete_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/attachment/delete_test.php')
-rw-r--r--tests/attachment/delete_test.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/attachment/delete_test.php b/tests/attachment/delete_test.php
index 5ea9f26ea0..59669c87e9 100644
--- a/tests/attachment/delete_test.php
+++ b/tests/attachment/delete_test.php
@@ -24,6 +24,9 @@ class phpbb_attachment_delete_test extends \phpbb_database_test_case
/** @var \phpbb\filesystem\filesystem */
protected $filesystem;
+ /** @var \phpbb\event\dispatcher_interface */
+ protected $dispatcher;
+
/** @var \phpbb\attachment\resync */
protected $resync;
@@ -37,9 +40,9 @@ class phpbb_attachment_delete_test extends \phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/resync.xml');
}
- public function setUp()
+ public function setUp(): void
{
- global $db, $phpbb_root_path;
+ global $phpbb_root_path;
parent::setUp();