public function testCookieSecureIsMutable() { $this->getModel($this->validatorMock); $value = ini_get('session.cookie_secure') ? false : true; $this->config->setCookieSecure($value); $this->assertEquals($value, $this->config->getCookieSecure()); }
public function testSetCookieSecureInOptions() { $this->_model->setCookieSecure(true); $this->assertTrue($this->_model->getCookieSecure()); }
public function testCookieSecureAltersIniSetting() { $value = ini_get('session.cookie_secure') ? false : true; $this->config->setCookieSecure($value); $this->assertEquals($value, ini_get('session.cookie_secure')); }