Наследование: extends CakeTestFixture
 /**
  * Test Fixtures
  */
 public function setUp()
 {
     NeechyTestHelper::setUp();
     UserFixture::init();
     PageFixture::init();
     $_SESSION['csrf_token'] = 'foo';
 }
 /**
  * Test Fixtures
  */
 public function setUp()
 {
     NeechyTestHelper::setUp();
     UserFixture::init();
     PageFixture::init();
     $_SESSION['csrf_token'] = 'foo';
     $this->mockCreateLoginUrl('index.php?page=HomePage');
 }
 /**
  * Test Fixtures
  */
 public function setUp()
 {
     NeechyTestHelper::setUp();
     UserFixture::init();
     PageFixture::init();
     $this->request = new NeechyRequest();
     $this->request->page = 'NeechyPage';
     $this->mockCreateLoginUrl('index.php?page=HomePage');
 }
Пример #4
0
 /**
  * Test Fixtures
  */
 public function setUp()
 {
     NeechyTestHelper::setUp();
     UserFixture::init();
 }