Skip to content

Commit

Permalink
Don't use try:exec for testing the trait. We only really need one tes…
Browse files Browse the repository at this point in the history
…t anyway. (#971)
  • Loading branch information
lpeabody authored Aug 30, 2020
1 parent 6421ee4 commit 45842d0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/integration/CommandTesterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,4 @@ public function testInputApis()
$this->assertContains("PHP", $tryInputOutput);
$this->assertContains("1234", $tryInputOutput);
}

public function testTesterWithOptions()
{
list($execOutput, $statusCode) = $this->executeCommand('try:exec', []);
$this->assertEquals(0, $statusCode);
list($execOutput, $statusCode) = $this->executeCommand('try:exec', [], ['--error']);
$this->assertNotEquals(0, $statusCode);
}
}

0 comments on commit 45842d0

Please sign in to comment.