コード例 #1
0
ファイル: Conf.php プロジェクト: Anaphore/viewer
 /**
  * Test getPreparedPath
  *
  * @return void
  */
 public function testGetPreparedPath()
 {
     //first, test default configuration
     $conf = new Viewer\Conf();
     $ppath = $conf->getPreparedPath();
     $this->string($ppath)->isIdenticalTo('/var/www/prepared_images/');
     //then, test UT configuration
     $ppath = $this->_conf->getPreparedPath();
     $this->string($ppath)->isIdenticalTo('/tmp/');
 }