コード例 #1
0
ファイル: SessionConfigTest.php プロジェクト: haoyanfei/zf2
 public function testSettingInvalidCookieLifetimeRaisesException2()
 {
     $this->setExpectedException('Zend\\Session\\Exception\\InvalidArgumentException', 'Invalid cookie_lifetime; must be a positive integer or zero');
     $this->config->setCookieLifetime(-1);
 }