/** * Setup test data. * * @return void */ public function setUp() { parent::setUp(); $this->request = new Request(['params' => ['controller' => 'Acl', 'prefix' => 'admin', 'plugin' => 'Union/Community']]); $this->userData['role_id'] = Role::REGISTERED_ID; }
/** * Tear down method. * * @return void */ public function tearDown() { parent::tearDown(); unset($this->Acl); }