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 Feb 27, 2024
1 parent 19c3e98 commit c769231
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 @@ -70,6 +70,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 c769231

Please sign in to comment.