From ceb7de5813064c302cc98700165e5c0d75b338fe Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Fri, 28 Jun 2024 09:51:23 -0700 Subject: [PATCH] Fix tests Signed-off-by: Matt Friedman --- tests/controller/acp_controller_test.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/controller/acp_controller_test.php b/tests/controller/acp_controller_test.php index 1ce3ea1..d008239 100644 --- a/tests/controller/acp_controller_test.php +++ b/tests/controller/acp_controller_test.php @@ -11,7 +11,6 @@ namespace phpbb\boardannouncements\controller; require_once __DIR__ . '/../../../../../includes/functions_acp.php'; -require_once __DIR__ . '/../../../../../includes/functions_display.php'; class acp_controller_test extends \phpbb_test_case { @@ -124,7 +123,7 @@ protected function get_controller() $this->request, $this->template, $this->user, - $this->phpbb_root_path, + $this->root_path, $this->php_ext ); $controller->set_page_url($this->u_action); @@ -167,7 +166,7 @@ public function test_mode_manage($action, $expected) $this->request, $this->template, $this->user, - $this->phpbb_root_path, + $this->root_path, $this->php_ext ]) ->getMock();