Esempio n. 1
0
 /**
  * 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;
 }
Esempio n. 2
0
 /**
  * Tear down method.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->Acl);
 }