Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 165 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 165 Rev 196
Line 28... Line 28...
28
		$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';
28
		$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';
29
		Config::charger($cheminRacine.'config.ini');
29
		Config::charger($cheminRacine.'config.ini');
30
		$noms = new NomsVernaculaires();
30
		$noms = new NomsVernaculaires();
31
		$resultats = $noms->getRechercheFloue('abricotier');
31
		$resultats = $noms->getRechercheFloue('abricotier');
32
		$this->assertNotEmpty($resultats);
32
		$this->assertNotEmpty($resultats);
33
		$this->assertEquals('5', $resultats['entete']['total']);
33
		$this->assertEquals('1', $resultats['entete']['total']);
34
	}
34
	}
35
}
35
}
36
?>
36
?>
37
37