Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 205 → Rev 206

/trunk/services/tests/0.2/fournier/NomDetailsFournierTest.php
3,8 → 3,8
 
class NomDetailsFournierTest extends ServicePhpUnit {
 
private $nomDetailSqueletteUrl = 'http://localhost/service:eflore:0.1/fournier/noms/%s';
private $ontologieHrefTpl = 'http://localhost/service:eflore:0.1/bdnt/ontologies/rangTaxo:%s';
private $nomDetailSqueletteUrl = 'http://localhost/service:eflore:0.2/fournier/noms/%s';
private $ontologieHrefTpl = 'http://localhost/service:eflore:0.2/bdnt/ontologies/rangTaxo:%s';
private $champsProjet = array(
'nom_scientifique' => 'nom_scientifique',
'auteur_origine' => 'auteur_origine',
25,7 → 25,7
public function __construct() {
$this->projet = 'fournier';
$this->service = 'noms';
$this->classeTestee = 'NomDetailsFournier';
$this->classeTestee = 'NomDetailsGenerique';
}
 
public function initialiserService(NomsListe $service) {
38,7 → 38,7
$ressources = array('85');
$parametres = array();
 
$retour = $this->consulterBrut($ressources, $parametres);
$retour = $this->consulter($ressources, $parametres);
 
$this->assertTrue(is_array($retour), 'Retour est un tableau');
$this->assertArrayHasKey('id', $retour, 'Présence champ id');