Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
roblesterjr04 committed Jul 20, 2023
1 parent 81cd301 commit d13e63c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Checks/Checks/TerminalCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function timeout($timeout): self

public function executeTerminal($cmd, $stdin="", &$stdout = "", &$stderr = "", $timeout=false)
{

$pipes = array();
$process = proc_open(
$cmd,
Expand Down
2 changes: 1 addition & 1 deletion tests/GitHubTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function testTerminalCheck()
{
$check = TerminalCheck::new();

$result = $check->command('ls')->run();
$result = $check->command('cd ~/GitHub/wotc && php artisan test')->run();

$this->assertInstanceOf('Lester\Health\Checks\Result', $result);
}
Expand Down

0 comments on commit d13e63c

Please sign in to comment.