Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 function testCheckCsrfSession()
 {
     $this->assertTrue($this->csrf->set());
     $this->csrfid = $this->csrf->get();
 }