Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?phprequire_once dirname(__FILE__).'/../../ConsultationEflorePhpUnit.php';class FicheMetadonneesTest extends ConsultationEflorePhpUnit {public function testAffichageFicheMetadonnees() {$_GET['module'] = 'fiche-metadonnees';$_GET['action'] = 'affichagemetadonnees';$_GET['projet'] = 'chorodep';Registre::set('niveau', '1');$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';$fiche = new FicheMetadonnees();$sortie = $fiche->chargerMetadonneesHtml();$this->assertNotEmpty($sortie, print_r($sortie));$this->assertContains('<div id="metadonnees">', $sortie);}}?>