Skip to content

Commit bf2724c

Browse files
committed
Revert "Fix unit tests"
This reverts commit 28c06b7.
1 parent 0f36534 commit bf2724c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function testCanNotRunNotExistantCommand()
132132
$this->assertFalse($command->execute());
133133
$this->assertFalse($command->getExecuted());
134134
$this->assertNotEmpty($command->getError());
135-
$this->assertEmpty($command->getStdErr());
135+
$this->assertNotEmpty($command->getStdErr());
136136
$this->assertEmpty($command->getOutput());
137137
$this->assertEquals(127, $command->getExitCode());
138138
}
@@ -143,7 +143,7 @@ public function testCanNotRunInvalidCommand()
143143
$this->assertFalse($command->execute());
144144
$this->assertFalse($command->getExecuted());
145145
$this->assertNotEmpty($command->getError());
146-
$this->assertEmpty($command->getStdErr());
146+
$this->assertNotEmpty($command->getStdErr());
147147
$this->assertEmpty($command->getOutput());
148148
$this->assertEquals(2, $command->getExitCode());
149149
}

0 commit comments

Comments
 (0)