Skip to content

Commit

Permalink
Fixed console test trait tear down
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyharris committed May 11, 2018
1 parent dac9989 commit 92e34fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/TestSuite/ConsoleIntegrationTestTrait.php
Expand Up @@ -75,8 +75,6 @@ trait ConsoleIntegrationTestTrait
*/
public function exec($command, array $input = [])
{
$this->clean();

$runner = $this->makeRunner();

$this->out = new ConsoleOutput();
Expand Down Expand Up @@ -106,8 +104,10 @@ public function exec($command, array $input = [])
*
* @return void
*/
private function clean()
public function tearDown()
{
parent::tearDown();

$this->exitCode = null;
$this->out = null;
$this->err = null;
Expand Down

0 comments on commit 92e34fe

Please sign in to comment.