Example #1
0
 public function testToken()
 {
     $form = $this->Form->withToken()->make(array('name' => 'Test'));
     $this->assertContains(Form::token(), $form);
     $this->assertTrue(Form::validToken(Form::token()));
 }