예제 #1
0
파일: SessionTest.php 프로젝트: t-f-m/ethna
 public function setUp()
 {
     $ctl = new CsrfTest_Ethna_Controller();
     $plugin = $ctl->getPlugin();
     $this->csrf = $plugin->getPlugin('Csrf', 'Session');
     $this->assertTrue($this->csrf->set());
     $this->csrfid = $this->csrf->get();
 }
예제 #2
0
 function testCheckCsrfSession()
 {
     $this->assertTrue($this->csrf->set());
     $this->csrfid = $this->csrf->get();
 }