Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 880 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
215 jpm 1
<?php
2
require_once dirname(__FILE__).'/../ServicePhpUnit.php';
3
 
4
class EnteteHttpTest extends ServicePhpUnit {
5
 
6
	public function testerEnteteHttpParDefaut() {
7
		$enteteHttp = new EnteteHttp();
8
 
9
		$this->assertEquals('200', $enteteHttp->code);
10
		$this->assertEquals('utf-8', $enteteHttp->encodage);
11
		$this->assertEquals('application/json', $enteteHttp->mime);
12
	}
13
}
14
?>