Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 99 Rev 165
Line 11... Line 11...
11
		$resultats = $noms->getRechercheEtendue('abricotier');
11
		$resultats = $noms->getRechercheEtendue('abricotier');
12
		$this->assertNotEmpty($resultats);
12
		$this->assertNotEmpty($resultats);
13
		$this->assertEquals('3', $resultats['entete']['total']);
13
		$this->assertEquals('3', $resultats['entete']['total']);
14
	}
14
	}
Line -... Line 15...
-
 
15
	
-
 
16
	public function testRechercheEtendueDetermination() {
-
 
17
		Registre::set('parametres.referentiel', 'nvjfl');
-
 
18
		$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';
-
 
19
		Config::charger($cheminRacine.'config.ini');
-
 
20
		$noms = new NomsVernaculaires();
-
 
21
		$resultats = $noms->getRechercheEtendue('abricotier', 'determination');
-
 
22
		$this->assertNotEmpty($resultats);
-
 
23
		$this->assertEquals('3', $resultats['entete']['total']);
-
 
24
	}
15
	
25
	
16
	public function testRechercheFloue() {	
26
	public function testRechercheFloue() {	
17
		Registre::set('parametres.referentiel', 'nvjfl');
27
		Registre::set('parametres.referentiel', 'nvjfl');
18
		$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';
28
		$cheminRacine = realpath(dirname(__FILE__).'/../configurations/').'/';
19
		Config::charger($cheminRacine.'config.ini');
29
		Config::charger($cheminRacine.'config.ini');