1 | <?php |
||
9 | abstract class WebTest extends WebTestCase |
||
10 | { |
||
11 | protected $identifiant = "[email protected]"; |
||
12 | protected $motDePasse = "motMotDePasse"; |
||
13 | |||
14 | /** |
||
15 | * Erase all database data. |
||
16 | */ |
||
17 | public function setUp() |
||
21 | |||
22 | /** |
||
23 | * Retourne l'entity manager de la connexion defaut. |
||
24 | * |
||
25 | * @return \Doctrine\Common\Persistence\ObjectManager|object |
||
26 | */ |
||
27 | public function getEntityManager() |
||
31 | |||
32 | public function getAuthClient() |
||
49 | |||
50 | /** |
||
51 | * Generates a URL from the given parameters. |
||
52 | * |
||
53 | * @param string $route The name of the route |
||
54 | * @param mixed $parameters An array of parameters |
||
55 | * @param int $referenceType The type of reference (one of the constants in UrlGeneratorInterface) |
||
56 | * |
||
57 | * @return string The generated URL |
||
58 | * |
||
59 | * @see UrlGeneratorInterface |
||
60 | */ |
||
61 | protected function generateUrl($route, $parameters = array(), $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH) |
||
65 | } |
||
|
|||
66 |
This check marks files that end in a newline character, i.e. an empy line.