Beispiel #1
0
 protected function setUp()
 {
     Form::disableDefaultCsrfProtection();
     Form::setDefaultCsrfSecret(null);
     $this->validator = $this->createMockValidator();
     $this->form = new Form('author', new Author(), $this->validator);
 }