Skip to content

Commit

Permalink
Merge pull request #171 from PHPCSStandards/feature/tests-registersta…
Browse files Browse the repository at this point in the history
…ndards-stabilize

RegisterExternalStandardsTest: stabilize test for Composer v1 on Windows with PHP 5.5
  • Loading branch information
Potherca committed Apr 18, 2022
2 parents 1f6f9f5 + ccd127f commit 8fcf10c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/IntegrationTest/RegisterExternalStandardsTest.php
Expand Up @@ -293,10 +293,11 @@ public function testRegisterOneStandardInSrcSubdir($phpcsVersion)
$this->writeComposerJsonFile($config, static::$tempGlobalPath);

// Install the dependencies and verify that the plugin has run.
$expectedStdOut = $this->willPluginOutputShow() ? 'PHP CodeSniffer Config installed_paths set to ' : null;
$this->assertExecute(
'composer global install -v --no-ansi',
0, // Expected exit code.
'PHP CodeSniffer Config installed_paths set to ', // Expectation for stdout.
$expectedStdOut, // Expectation for stdout.
null, // No stderr expectation.
'Failed to install dependencies.'
);
Expand Down

0 comments on commit 8fcf10c

Please sign in to comment.