Line 15... |
Line 15... |
15 |
|
15 |
|
Line 16... |
Line 16... |
16 |
$sortie = $niveau->afficherNiveau();
|
16 |
$sortie = $niveau->afficherNiveau();
|
17 |
|
17 |
|
18 |
$this->assertNotEmpty($sortie, print_r($sortie, true));
|
18 |
$this->assertNotEmpty($sortie, print_r($sortie, true));
|
19 |
$this->assertNotContains(' <input id="niveau_2" name="niveau" value="2" type="radio" checked="checked" />', $sortie);
|
19 |
$this->assertNotContains(' <input id="niveau_2" name="niveau" value="2" type="radio" checked="checked" />', $sortie);
|
20 |
$this->assertContains('<input id="type_nom" name="type_nom" type="hidden" value="nom_scientifique" />', $sortie, print_r($sortie,true));
|
20 |
$this->assertContains('<input id="eflore_niveau_type_nom" name="type_nom" type="hidden" value="nom_scientifique" />', $sortie, print_r($sortie,true));
|
21 |
$this->assertContains('<input id="referentiel" name="referentiel" type="hidden" value="bdtfx" />', $sortie);
|
21 |
$this->assertContains('<input id="eflore_niveau_referentiel" name="referentiel" type="hidden" value="bdtfx" />', $sortie);
|
22 |
$this->assertContains('<input id="action" name="action" type="hidden" value="rechercheSimple" />', $sortie);
|
22 |
$this->assertContains('<input id="eflore_niveau_action" name="action" type="hidden" value="rechercheSimple" />', $sortie);
|
Line 23... |
Line 23... |
23 |
$this->assertContains('<input id="nom" name="nom" type="hidden" value="acer+mons" />', $sortie);
|
23 |
$this->assertContains('<input id="eflore_niveau_nom" name="nom" type="hidden" value="acer+mons" />', $sortie);
|
24 |
}
|
24 |
}
|
25 |
|
25 |
|