Skip to content

Commit

Permalink
Merge pull request #151 from iMattPro/fixes
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
iMattPro authored Jun 28, 2024
2 parents a278eee + ceb7de5 commit 49633d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/controller/acp_controller_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 49633d5

Please sign in to comment.