示例#1
0
文件: UsersTest.php 项目: phpscr/usvn
 public function testUserUpdateHtpasswdBadPath()
 {
     $configArray = array('subversion' => array('passwd' => 'titi/toto'));
     $config = new Zend_Config($configArray);
     Zend_Registry::set('config', $config);
     try {
         $table = new USVN_Db_Table_Users();
         $table->updateHtpasswd();
     } catch (USVN_Exception $e) {
         return;
     }
     $this->fail();
 }