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());
 }
Exemplo n.º 2
0
 public function testSetUseCookiesInOptions()
 {
     $this->_model->setUseCookies(true);
     $this->assertTrue($this->_model->getUseCookies());
 }