Fix tests
parent
115dc407fa
commit
b3164de813
|
@ -64,7 +64,7 @@ class SvnDriver extends VcsDriver
|
|||
*/
|
||||
public function initialize()
|
||||
{
|
||||
$this->url = rtrim(self::normalizeUrl($this->url), '/');
|
||||
$this->url = $this->baseUrl = rtrim(self::normalizeUrl($this->url), '/');
|
||||
|
||||
if (false !== ($pos = strrpos($this->url, '/trunk'))) {
|
||||
$this->baseUrl = substr($this->url, 0, $pos);
|
||||
|
|
|
@ -41,7 +41,7 @@ class SvnDriverTest extends \PHPUnit_Framework_TestCase
|
|||
->will($this->returnValue($output));
|
||||
|
||||
$svn = new SvnDriver('http://till:secret@corp.svn.local/repo', $console, new Config(), $process);
|
||||
$svn->getTags();
|
||||
$svn->initialize();
|
||||
}
|
||||
|
||||
private function getCmd($cmd)
|
||||
|
|
Loading…
Reference in New Issue