X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fprocess%2FTests%2FPhpProcessTest.php;h=b0f0a57acefaa150d3a218f498d9dd5bffaeb446;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=79ab02717a58b5c2f6febf2ae5c3bf9b1fb460fa;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/symfony/process/Tests/PhpProcessTest.php b/vendor/symfony/process/Tests/PhpProcessTest.php index 79ab02717..b0f0a57ac 100644 --- a/vendor/symfony/process/Tests/PhpProcessTest.php +++ b/vendor/symfony/process/Tests/PhpProcessTest.php @@ -12,7 +12,6 @@ namespace Symfony\Component\Process\Tests; use PHPUnit\Framework\TestCase; -use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\PhpProcess; class PhpProcessTest extends TestCase @@ -32,19 +31,18 @@ PHP public function testCommandLine() { $process = new PhpProcess(<<<'PHP' -getCommandLine(); - $f = new PhpExecutableFinder(); - $this->assertContains($f->find(), $commandLine, '::getCommandLine() returns the command line of PHP before start'); - $process->start(); $this->assertContains($commandLine, $process->getCommandLine(), '::getCommandLine() returns the command line of PHP after start'); $process->wait(); $this->assertContains($commandLine, $process->getCommandLine(), '::getCommandLine() returns the command line of PHP after wait'); + + $this->assertSame(PHP_VERSION.\PHP_SAPI, $process->getOutput()); } }