Skip to content

Commit 1dec31e

Browse files
author
Alexander Obuhovich
committed
Simplify CommandTest
1 parent 2bd056d commit 1dec31e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/SVNBuddy/Repository/Connector/CommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ protected function setUp()
5656
$this->_command = $this->_createCommand();
5757
}
5858

59-
public function testRunWithoutCallback()
59+
public function testRunWithoutCallbackAndWithoutCallback()
6060
{
61-
$this->_process->getCommandLine()->willReturn('svn --non-interactive log --limit 5')->shouldBeCalled();
61+
$this->_process->getCommandLine()->willReturn('svn log')->shouldBeCalled();
6262
$this->_process->mustRun(null)->shouldBeCalled();
6363
$this->_process->getOutput()->willReturn('OK')->shouldBeCalled();
6464

0 commit comments

Comments
 (0)