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 {
13
13
public function testComposerInstallAndUpdate () {
14
14
$ exampleScaffoldFile = $ this ->tmpDir . DIRECTORY_SEPARATOR . 'index.php ' ;
15
15
$ this ->assertFileNotExists ($ exampleScaffoldFile , 'Scaffold file should not be exist. ' );
16
- $ this ->composer ('install --no-dev -- prefer-dist ' );
16
+ $ this ->composer ('install --prefer-dist ' );
17
17
$ this ->assertFileExists ($ this ->tmpDir . DIRECTORY_SEPARATOR . 'core ' , 'Drupal core is installed. ' );
18
18
$ this ->assertFileExists ($ exampleScaffoldFile , 'Scaffold file should be automatically installed. ' );
19
19
$ this ->fs ->remove ($ exampleScaffoldFile );
@@ -27,7 +27,7 @@ public function testComposerInstallAndUpdate() {
27
27
touch ($ exampleScaffoldFile );
28
28
$ mtime_touched = filemtime ($ exampleScaffoldFile );
29
29
// 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 . '" ' );
31
31
clearstatcache ();
32
32
$ mtime_after = filemtime ($ exampleScaffoldFile );
33
33
$ 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