diff --git a/tests/remote_login_url_client_test.php b/tests/remote_login_url_client_test.php index 94dcee0..a3164f0 100644 --- a/tests/remote_login_url_client_test.php +++ b/tests/remote_login_url_client_test.php @@ -48,3 +48,9 @@ test('remote login url client validates helper output before returning it', func } }); +test('process runner returns stdout and exit code from real command', function (): void { + $result = RemoteLoginUrlClient::runProcess(['php', '-r', 'echo "ok\n";'], 5); + + assert_same(0, $result->exitCode); + assert_same("ok\n", $result->stdout); +});