3,8 → 3,7 |
|
class RechercheSimpleTest extends ConsultationEflorePhpUnit { |
public function testMoteurRechercheSimple() { |
$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/'; |
Config::charger($cheminRacine.'bdtfx.ini'); |
Config::charger(CONFIG_DIR . '/bdtfx.ini'); |
Registre::set('eFlore.urlBase', new Url(Config::get('base_url_application_index'))); |
Registre::set('parametres.referentiel', 'bdtfx'); |
|
20,8 → 19,7 |
} |
|
public function testMoteurRechercheSimpleForm() { |
$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/'; |
Config::charger($cheminRacine.'bdtfx.ini'); |
Config::charger(CONFIG_DIR . '/bdtfx.ini'); |
Registre::set('eFlore.urlBase', new Url(Config::get('base_url_application_index'))); |
Registre::set('parametres.referentiel', 'bdtfx'); |
$donnees['type_nom'] = 'nom_vernaculaire'; |