Skip to content

Commit

Permalink
CivixProjectTestTrait - Given expanded importance of Civix helpers, f…
Browse files Browse the repository at this point in the history
…lush them in more realistic way
  • Loading branch information
totten committed Apr 19, 2024
1 parent e8380d1 commit 3567869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/e2e/CivixProjectTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static function getExtPath(...$subpath): Path {
}

public static function civix(string $command): CommandTester {
\Civix::reset();
$application = new Application();
$command = $application->find($command);
return new CommandTester($command);
Expand Down

0 comments on commit 3567869

Please sign in to comment.