Skip to content

Commit 41c5b86

Browse files
Fix tests.
1 parent 17866f3 commit 41c5b86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/PluginTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ public function testComposerInstallAndUpdate() {
6969
$this->composer('install');
7070
$this->assertFileExists($this->tmpDir . DIRECTORY_SEPARATOR . 'core', 'Drupal core is installed.');
7171
$exampleScaffoldFile = $this->tmpDir . DIRECTORY_SEPARATOR . 'index.php';
72-
$this->assertFileExists($exampleScaffoldFile, 'Scaffold file given.');
72+
$this->assertFileNotExists($exampleScaffoldFile, 'Scaffold file should not be automatically installed.');
73+
$this->composer('drupal-scaffold');
74+
$this->assertFileExists($exampleScaffoldFile, 'Scaffold file should be installed by "drupal-scaffold" command.');
7375

7476
// We touch a scaffold file, so we can check the file was modified after
7577
// the scaffold update.

0 commit comments

Comments
 (0)