diff --git a/tests/PluginTest.php b/tests/PluginTest.php index f9fc2f3..ff9e6c7 100644 --- a/tests/PluginTest.php +++ b/tests/PluginTest.php @@ -18,7 +18,7 @@ class PluginTest extends BaseTest { public function testComposerInstallAndUpdate() { $exampleScaffoldFile = $this->tmpDir . DIRECTORY_SEPARATOR . 'index.php'; $this->assertFileNotExists($exampleScaffoldFile, 'Scaffold file should not be exist.'); - $this->composer('install --no-dev --prefer-dist'); + $this->composer('install --prefer-dist'); $this->assertFileExists($this->tmpDir . DIRECTORY_SEPARATOR . 'core', 'Drupal core is installed.'); $this->assertFileExists($exampleScaffoldFile, 'Scaffold file should be automatically installed.'); $this->fs->remove($exampleScaffoldFile); @@ -32,7 +32,7 @@ public function testComposerInstallAndUpdate() { touch($exampleScaffoldFile); $mtime_touched = filemtime($exampleScaffoldFile); // Requiring a newer version triggers "composer update" - $this->composer('require --update-with-dependencies --prefer-dist --update-no-dev drupal/core:"' . $version .'"'); + $this->composer('require --update-with-dependencies --prefer-dist drupal/core:"' . $version .'"'); clearstatcache(); $mtime_after = filemtime($exampleScaffoldFile); $this->assertNotEquals($mtime_after, $mtime_touched, 'Scaffold file was modified by composer update. (' . $version . ')');