Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 948 → Rev 949

/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
39,7 → 39,7
$this->assertNotEmpty($retour['entete'], 'pas d\'entete'.print_r($retour['entete'], true));
$this->assertEquals(20, $retour['entete']['total'], "L'attribut 'total' devrait avoir la valeur '20'. Voir : $url");
$this->assertCount(20, $retour['resultat'], "L'attribut 'total' devrait avoir la valeur '20'. Voir : $url");
$this->assertNotEmpty($retour['resultat']['197:34'], 'resultat 197:34 absent'.print_r($retour['resultat']['74929:03'], true));
$this->assertNotEmpty($retour['resultat']['197:34'], 'resultat 197:34 absent', true);
/*$this->assertArrayHasKey('type', $retour['resultat']['74929:03'], "Le json ne contient pas d'attribut : type. Voir : $url");
$this->assertEquals('chorologie', $retour['resultat']['74929:03']['type'], "L'attribut 'type' devrait avoir la valeur 'chorologie'. Voir : $url");*/
// TODO: implémenter "chorodep/observations/10:25?masque.station=34&retour.format=min"
/trunk/services/tests/0.1/chorodep/ChorodepCartesTest.php
67,7 → 67,6
'retour' => 'image/svg+xml');
 
$this->retour = ServiceEflorePhpUnit::consulterBrut($this->service, $this->projet, $ressources, $parametres);
 
$this->chargerXml();
$this->etreSvg();
$this->verifierDepartementsPresence(array('02', '07', '57', '67', '88', '68', '90', '25', '21', '39', '01', '74', '73', '38', '46', '83'));