public function Fixtures::drupalCoreComposerFixture in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Composer/Generator/Fixtures.php \Drupal\Tests\Composer\Generator\Fixtures::drupalCoreComposerFixture()
- 10 core/tests/Drupal/Tests/Composer/Generator/Fixtures.php \Drupal\Tests\Composer\Generator\Fixtures::drupalCoreComposerFixture()
Generate a suitable DrupalCoreComposer fixture for testing.
Return value
\Drupal\Composer\Generator\Util\DrupalCoreComposer DrupalCoreComposer fixture.
File
- core/
tests/ Drupal/ Tests/ Composer/ Generator/ Fixtures.php, line 18
Class
- Fixtures
- Convenience class for creating fixtures.
Namespace
Drupal\Tests\Composer\GeneratorCode
public function drupalCoreComposerFixture() {
return new DrupalCoreComposer($this
->composerJson(), $this
->composerLock());
}