Rev 215 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
require_once dirname(__FILE__).'/../ServicePhpUnit.php';
class ParametresTest extends ServicePhpUnit {
public function testerParametreParDefaut() {
$bdd = $this->getMock('Bdd');
$parametresUrl = array();
$parametres = new Parametres($parametresUrl, $bdd);
$this->assertEquals('stricte', $parametres->get('recherche'));
$this->assertEquals('ns.format', $parametres->get('txt'));
$this->assertEquals('ns.format', $parametres->get('txt'));
}
}