Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 957 → Rev 958

/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
217,7 → 217,7
"Le champs 'type_bio.libelle' ne doit pas être présent si retour.format=min.");
$this->assertArrayNotHasKey('type_bio.detail',$retour,
"Le champs 'type_bio.detail' ne doit pas être présent si retour.format=min.");
$champs = array_keys(Outils::recupererTableauConfig('champs_ontologiques'));
$champs = array_keys(Outils::recupererTableauConfig('Paramètres.champs_ontologiques'));
foreach ($champs as $chps) {
$this->assertArrayNotHasKey($chps.'.libelle', $retour,
"Le champs '{$chps}.libelle' ne doit pas être présent si retour.format=min.");
274,7 → 274,7
}
private function verifierParametresEcologie_max($retour,$type) {
$champs = array_keys(Outils::recupererTableauConfig('champs_ontologiques'));
$champs = array_keys(Outils::recupererTableauConfig('Paramètres.champs_ontologiques'));
if ($type == 'baseflor') {
foreach ($champs as $chps) {
$this->assertArrayHasKey($chps.'.libelle', $retour,