public function ComposerValidateTest::testValidateComposer in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php \Drupal\BuildTests\Composer\ComposerValidateTest::testValidateComposer()
@dataProvider provideComposerJson
File
- core/
tests/ Drupal/ BuildTests/ Composer/ ComposerValidateTest.php, line 28
Class
- ComposerValidateTest
- @group Composer @requires externalCommand composer
Namespace
Drupal\BuildTests\ComposerCode
public function testValidateComposer($path) {
$this
->executeCommand('composer validate --strict --no-check-all ' . $path);
$this
->assertCommandSuccessful();
}