File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class PluginTest extends BaseTest {
1313 public function testComposerInstallAndUpdate () {
1414 $ exampleScaffoldFile = $ this ->tmpDir . DIRECTORY_SEPARATOR . 'index.php ' ;
1515 $ this ->assertFileNotExists ($ exampleScaffoldFile , 'Scaffold file should not be exist. ' );
16- $ this ->composer ('install --no-dev -- prefer-dist ' );
16+ $ this ->composer ('install --prefer-dist ' );
1717 $ this ->assertFileExists ($ this ->tmpDir . DIRECTORY_SEPARATOR . 'core ' , 'Drupal core is installed. ' );
1818 $ this ->assertFileExists ($ exampleScaffoldFile , 'Scaffold file should be automatically installed. ' );
1919 $ this ->fs ->remove ($ exampleScaffoldFile );
@@ -27,7 +27,7 @@ public function testComposerInstallAndUpdate() {
2727 touch ($ exampleScaffoldFile );
2828 $ mtime_touched = filemtime ($ exampleScaffoldFile );
2929 // Requiring a newer version triggers "composer update".
30- $ this ->composer ('require --update-with-dependencies --prefer-dist --update-no-dev drupal/core:" ' . $ version . '" ' );
30+ $ this ->composer ('require --update-with-dependencies --prefer-dist drupal/core:" ' . $ version . '" ' );
3131 clearstatcache ();
3232 $ mtime_after = filemtime ($ exampleScaffoldFile );
3333 $ this ->assertNotEquals ($ mtime_after , $ mtime_touched , 'Scaffold file was modified by composer update. ( ' . $ version . ') ' );
You can’t perform that action at this time.
0 commit comments