diff --git a/Tests/Controller/PersonControllerCreateTest.php b/Tests/Controller/PersonControllerCreateTest.php index cbc6444e6..91076398e 100644 --- a/Tests/Controller/PersonControllerCreateTest.php +++ b/Tests/Controller/PersonControllerCreateTest.php @@ -1,10 +1,29 @@ , + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + namespace Chill\PersonBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Component\DomCrawler\Form; -use Symfony\Component\HttpFoundation\RedirectResponse; /** * Test creation and deletion for persons @@ -92,8 +111,6 @@ class PersonControllerCreateTest extends WebTestCase ->getValue(), 'The creation date input has the current date by default'); return $form; - - } /** @@ -110,7 +127,6 @@ class PersonControllerCreateTest extends WebTestCase $this->assertEquals(1, $crawler->filter('.error')->count(), "An error message is shown if we fill more than 255 characters in firstname"); - } /** @@ -173,7 +189,4 @@ class PersonControllerCreateTest extends WebTestCase $em->remove($jesus); $em->flush(); } - - - }