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'); |