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 @@ -18,7 +18,7 @@ class PluginTest extends BaseTest {
1818 public function testComposerInstallAndUpdate () {
1919 $ exampleScaffoldFile = $ this ->tmpDir . DIRECTORY_SEPARATOR . 'index.php ' ;
2020 $ this ->assertFileNotExists ($ exampleScaffoldFile , 'Scaffold file should not be exist. ' );
21- $ this ->composer ('install --no-dev -- prefer-dist ' );
21+ $ this ->composer ('install --prefer-dist ' );
2222 $ this ->assertFileExists ($ this ->tmpDir . DIRECTORY_SEPARATOR . 'core ' , 'Drupal core is installed. ' );
2323 $ this ->assertFileExists ($ exampleScaffoldFile , 'Scaffold file should be automatically installed. ' );
2424 $ this ->fs ->remove ($ exampleScaffoldFile );
@@ -32,7 +32,7 @@ public function testComposerInstallAndUpdate() {
3232 touch ($ exampleScaffoldFile );
3333 $ mtime_touched = filemtime ($ exampleScaffoldFile );
3434 // Requiring a newer version triggers "composer update"
35- $ this ->composer ('require --update-with-dependencies --prefer-dist --update-no-dev drupal/core:" ' . $ version .'" ' );
35+ $ this ->composer ('require --update-with-dependencies --prefer-dist drupal/core:" ' . $ version .'" ' );
3636 clearstatcache ();
3737 $ mtime_after = filemtime ($ exampleScaffoldFile );
3838 $ 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