public function testUseCookiesIsMutable()
 {
     $this->getModel($this->validatorMock);
     $value = ini_get('session.use_cookies') ? false : true;
     $this->config->setUseCookies($value);
     $this->assertEquals($value, (bool)$this->config->getUseCookies());
 }
예제 #2
0
 public function testSetUseCookiesInOptions()
 {
     $this->_model->setUseCookies(true);
     $this->assertTrue($this->_model->getUseCookies());
 }