Navigation Menu

Skip to content

Commit

Permalink
Using phpunit 'after' annotation in ConsoleIntegrationTestTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyharris committed Jan 3, 2019
1 parent d34b0d7 commit 85c9c94
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/TestSuite/ConsoleIntegrationTestTrait.php
Expand Up @@ -106,12 +106,11 @@ public function exec($command, array $input = [])
/**
* Cleans state to get ready for the next test
*
* @after
* @return void
*/
public function tearDown()
public function cleanupConsoleTrait()
{
parent::tearDown();

$this->_exitCode = null;
$this->_out = null;
$this->_err = null;
Expand Down

0 comments on commit 85c9c94

Please sign in to comment.