mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 19:36:08 +01:00
Update test to reflect the new admin classes files structure
This commit is contained in:
@@ -12,8 +12,9 @@ class ControllerTest extends \Codeception\TestCase\Test
|
|||||||
|
|
||||||
protected function _before()
|
protected function _before()
|
||||||
{
|
{
|
||||||
require_once(__DIR__ . '/../../../classes/controller.php');
|
require_once(__DIR__ . '/../../../classes/adminbasecontroller.php');
|
||||||
$this->controller = new AdminController();
|
require_once(__DIR__ . '/../../../classes/admincontroller.php');
|
||||||
|
$this->controller = new \Grav\Plugin\Admin\AdminController();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function _after()
|
protected function _after()
|
||||||
|
|||||||
Reference in New Issue
Block a user