Neos\Flow\Tests\Unit\Core\Booting\ScriptsTest::subProcessCommandEvaluatesSubRequestIniEntriesCorrectly PHP Method

subProcessCommandEvaluatesSubRequestIniEntriesCorrectly() public method

    public function subProcessCommandEvaluatesSubRequestIniEntriesCorrectly()
    {
        $settings = ['core' => ['context' => 'Testing', 'phpBinaryPathAndFilename' => '/must/be/set/according/to/schema', 'subRequestIniEntries' => ['someSetting' => 'withValue', 'someFlagSettingWithoutValue' => '']]];
        $actual = $this->scriptsMock->_call('buildSubprocessCommand', 'flow:foo:identifier', $settings);
        $this->assertContains(sprintf(' -d %s=%s ', escapeshellarg('someSetting'), escapeshellarg('withValue')), $actual);
        $this->assertContains(sprintf(' -d %s ', escapeshellarg('someFlagSettingWithoutValue')), $actual);
    }