Skip to content

Commit

Permalink
#224: Adding tests for backdrop-subtheme-basis.
Browse files Browse the repository at this point in the history
  • Loading branch information
serundeputy authored May 26, 2020
2 parents fb5e626 + e91ba6c commit 0686452
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/DrushTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,15 @@ public function testDrushVersion() {
$this->assertStringContainsString('proper version', $output);
$this->assertStringContainsString('Extension version', $output);
}

/**
* Test drush backdrop-subtheme-basis command.
*/
public function testDrushSubthemeBasis() {
$output = shell_exec(
'drush sb --name=mesb'
);
$this->assertStringContainsString('mesb', $output);
$this->assertFileExists('../../../themes/mesb/mesb.info');
}
}

0 comments on commit 0686452

Please sign in to comment.