| Line 13... |
Line 13... |
| 13 |
$this->assertTrue(is_int($id), "L'id '$id' doit ĂȘtre un nombre entier.");
|
13 |
$this->assertTrue(is_int($id), "L'id '$id' doit ĂȘtre un nombre entier.");
|
| 14 |
$this->assertCount(3, $nom);
|
14 |
$this->assertCount(3, $nom);
|
| 15 |
$this->assertArrayHasKey('nomSci', $infos['noms'][$id], $infos);
|
15 |
$this->assertArrayHasKey('nomSci', $infos['noms'][$id], $infos);
|
| 16 |
$this->assertArrayHasKey('retenu', $infos['noms'][$id], $infos);
|
16 |
$this->assertArrayHasKey('retenu', $infos['noms'][$id], $infos);
|
| 17 |
$this->assertArrayHasKey('urlFiche', $infos['noms'][$id], $infos);
|
17 |
$this->assertArrayHasKey('urlFiche', $infos['noms'][$id], $infos);
|
| 18 |
$this->assertEquals( sprintf(self::TPL_URL_FICHE, $id), $infos['noms'][$id]['urlFiche'], $infos );
|
18 |
$this->assertEquals( sprintf(ConsultationEflorePhpUnit::TPL_URL_FICHE, $id), $infos['noms'][$id]['urlFiche'], $infos );
|
| 19 |
}
|
19 |
}
|
| 20 |
}
|
20 |
}
|
| Line 21... |
Line 21... |
| 21 |
|
21 |
|
| 22 |
public function testerTrier() {
|
22 |
public function testerTrier() {
|