Skip to content

Commit

Permalink
Merge branch 'hotfix/3.27.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan goswami committed Jan 23, 2023
2 parents 5f409c7 + 5bbbe23 commit 7fa4986
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.27.1
v3.27.2
7 changes: 3 additions & 4 deletions src/Options/FixtureOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,14 +300,13 @@ public function getProjectTemplate(): string {
return $this->options['project-template'];
}

// @todo Point to latest version of DRP once 2.x for D10 stable fixtures
// and "dev-master" for D10 dev fixtures.
if ($this->coreVersionParsedMatches('^10')) {
$this->options['project-template'] = 'acquia/drupal-recommended-project:dev-drupal10';
}
elseif ($this->coreVersionParsedMatches('^9') && $this->isDev()) {
$this->options['project-template'] = 'acquia/drupal-recommended-project:dev-master';
}
else {
$this->options['project-template'] = 'acquia/drupal-recommended-project';
$this->options['project-template'] = 'acquia/drupal-recommended-project:^1';
}

return $this->options['project-template'];
Expand Down
2 changes: 1 addition & 1 deletion tests/Options/FixtureOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function testDefaults(): void {
self::assertFalse($options->symlinkAll(), 'Set/got default "symlink-all" option.');
self::assertEquals($core, $options->getCore(), 'Set/got default "core" option.');
self::assertEquals('orca', $options->getProfile(), 'Set/got default "profile" option.');
self::assertEquals('acquia/drupal-recommended-project', $options->getProjectTemplate(), 'Set/got default "project-template" option.');
self::assertEquals('acquia/drupal-recommended-project:^1', $options->getProjectTemplate(), 'Set/got default "project-template" option.');
self::assertNull($options->getSut(), 'Set/got default "sut" option.');
self::assertTrue($options->installSite(), 'Set/got default "no-site-install" option.');
self::assertTrue($options->useSqlite(), 'Set/got default "no-sqlite" option.');
Expand Down

0 comments on commit 7fa4986

Please sign in to comment.