Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 99 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 99 Rev 1142
Line 8... Line 8...
8
		$parametres = array('masque' => 'acer', 'recherche' => 'stricte', 'ns.format' => 'htm');
8
		$parametres = array('masque' => 'acer', 'recherche' => 'stricte', 'ns.format' => 'htm');
9
		$url = $this->creerUrl($ressources, $parametres);
9
		$url = $this->creerUrl($ressources, $parametres);
Line 10... Line 10...
10
		
10
		
11
		$eflore = $this->getMock('Eflore');
11
		$eflore = $this->getMock('Eflore');
12
		$formaterUrl = self::getMethodeProtegee($eflore, 'formaterUrl');
12
		$formaterUrl = self::getMethodeProtegee($eflore, 'formaterUrl');
13
		$tpl = 'http://localhost/service:eflore:0.1/{projet}/noms?masque={valeur}&recherche={type}&ns.format=htm';
13
		$tpl = ConsultationEflorePhpUnit::URL_API . '/{projet}/noms?masque={valeur}&recherche={type}&ns.format=htm';
14
		$param = array('projet' => 'bdtfx' ,'valeur' => 'acer', 'type' => 'stricte');
14
		$param = array('projet' => 'bdtfx' ,'valeur' => 'acer', 'type' => 'stricte');
Line 15... Line 15...
15
		$urlf = $formaterUrl->invoke($eflore, $tpl, $param);
15
		$urlf = $formaterUrl->invoke($eflore, $tpl, $param);
16
		
16