Skip to content

Commit b9c8910

Browse files
committed
test: fix tests
1 parent e12b8bd commit b9c8910

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/Helper/ShellTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@ public function test_error_output()
8282
$shell = new Shell('false');
8383

8484
$this->assertSame(1, $shell->execute()->getExitCode());
85+
$this->assertSame('', $shell->execute()->getErrorOutput());
8586
}
8687

8788
public function test_exitcode()
8889
{
89-
$shell = new Shell('php -v');
90+
$shell = new Shell('true');
9091

9192
$this->assertSame(0, $shell->execute()->getExitCode());
9293
}

tests/Input/CommandTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ public function test_args()
237237
public function test_tap()
238238
{
239239
$this->assertInstanceOf(static::class, $this->newCommand()->tap($this));
240-
$this->assertSame('asdf', $this->newCommand()->tap('asdf'));
241-
$this->assertSame(234, $this->newCommand()->tap(234));
242240
}
243241

244242
public function test_app_tap()

0 commit comments

Comments
 (0)