예제 #1
0
 public function testSettingInvalidCookieLifetimeRaisesException2()
 {
     $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid cookie_lifetime; must be a positive integer or zero');
     $this->config->setCookieLifetime(-1);
 }