File tree 1 file changed +2
-2
lines changed
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 {
18
18
public function testComposerInstallAndUpdate () {
19
19
$ exampleScaffoldFile = $ this ->tmpDir . DIRECTORY_SEPARATOR . 'index.php ' ;
20
20
$ this ->assertFileNotExists ($ exampleScaffoldFile , 'Scaffold file should not be exist. ' );
21
- $ this ->composer ('install --no-dev -- prefer-dist ' );
21
+ $ this ->composer ('install --prefer-dist ' );
22
22
$ this ->assertFileExists ($ this ->tmpDir . DIRECTORY_SEPARATOR . 'core ' , 'Drupal core is installed. ' );
23
23
$ this ->assertFileExists ($ exampleScaffoldFile , 'Scaffold file should be automatically installed. ' );
24
24
$ this ->fs ->remove ($ exampleScaffoldFile );
@@ -32,7 +32,7 @@ public function testComposerInstallAndUpdate() {
32
32
touch ($ exampleScaffoldFile );
33
33
$ mtime_touched = filemtime ($ exampleScaffoldFile );
34
34
// 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 .'" ' );
36
36
clearstatcache ();
37
37
$ mtime_after = filemtime ($ exampleScaffoldFile );
38
38
$ 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