Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 158 Rev 1149
Line 21... Line 21...
21
			$this->assertArrayHasKey('biblio', $nom, print_r($infos, true));
21
			$this->assertArrayHasKey('biblio', $nom, print_r($infos, true));
22
			$this->assertArrayHasKey('addendum', $nom, print_r($infos, true));
22
			$this->assertArrayHasKey('addendum', $nom, print_r($infos, true));
23
			$this->assertArrayHasKey('nn', $nom, print_r($infos, true));
23
			$this->assertArrayHasKey('nn', $nom, print_r($infos, true));
24
			$this->assertTrue(is_int($nom['nn']), "nn '{$nom['nn']}' doit ĂȘtre un nombre entier.");
24
			$this->assertTrue(is_int($nom['nn']), "nn '{$nom['nn']}' doit ĂȘtre un nombre entier.");
25
			$this->assertArrayHasKey('urlFiche', $nom, print_r($infos, true));
25
			$this->assertArrayHasKey('urlFiche', $nom, print_r($infos, true));
26
			$urlFicheAttendue = sprintf(self::TPL_URL_FICHE, $id);
26
			$urlFicheAttendue = sprintf(ConsultationEflorePhpUnit::TPL_URL_FICHE, $id);
27
			$this->assertEquals($urlFicheAttendue, $nom['urlFiche'], print_r($infos, true));
27
			$this->assertEquals($urlFicheAttendue, $nom['urlFiche'], print_r($infos, true));
28
		}
28
		}
29
	}
29
	}
Line 30... Line 30...
30
 
30