From f6859eeb3b39ffebc2aa2cf2d95112db7e0cead4 Mon Sep 17 00:00:00 2001 From: Dimitrios Karvounaris Date: Tue, 2 Jun 2020 18:25:29 +0200 Subject: [PATCH] Launch pest as php subprocess --- tests/Visual/SingleTestOrDirectory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Visual/SingleTestOrDirectory.php b/tests/Visual/SingleTestOrDirectory.php index b2200ed8..5cf1e6f3 100644 --- a/tests/Visual/SingleTestOrDirectory.php +++ b/tests/Visual/SingleTestOrDirectory.php @@ -33,6 +33,7 @@ EOF, $run('tests/Fixtures')); it('has ascii chars (decorated printer)', function () { $process = new Process([ + 'php', './bin/pest', 'tests/Fixtures/DirectoryWithTests/ExampleTest.php', ], dirname(__DIR__, 2)); @@ -49,6 +50,7 @@ EOF, $output); it('disable decorating printer when colors is set to never', function () { $process = new Process([ + 'php', './bin/pest', '--colors=never', 'tests/Fixtures/DirectoryWithTests/ExampleTest.php',