function ComposerValidateTest::testValidateComposer

@dataProvider provideComposerJson

File

core/tests/Drupal/BuildTests/Composer/ComposerValidateTest.php, line 28

Class

ComposerValidateTest
@group Composer @requires externalCommand composer

Namespace

Drupal\BuildTests\Composer

Code

public function testValidateComposer($path) {
  $this->executeCommand('composer validate --strict --no-check-all ' . $path);
  $this->assertCommandSuccessful();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.