Skip to content

Commit

Permalink
Issue #6: Add more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ademarco committed Jan 4, 2018
1 parent 2847931 commit 07b4117
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions tests/fixtures/simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,35 +77,51 @@
- "exec('ec-europa/oe-task-runner -t 123 --future-release=1.2.3')"

- command: 'drupal:scaffold'
configuration:
project:
name: "drupal/my_module"
type: "drupal-module"
configuration: []
composer: >
{
"name": "foo/bar",
"type": "drupal-module"
}
contains:
- "symlink('.', './build/modules/custom/bar')"
- "[Simulator] Running ./vendor/bin/run 'setup:behat'"
- "[Simulator] Running ./vendor/bin/run 'setup:phpunit'"
- "WriteConfiguration('./build/sites/default/drushrc.php'"
- "AppendConfiguration('./build/sites/default/default.settings.php'"

- command: 'drupal:scaffold'
configuration:
project:
name: "drupal/my_module"
type: "drupal-module"
drupal:
root: "./web"
composer: >
{
"name": "foo/bar",
"type": "drupal-theme"
}
contains:
- "symlink('.', './web/themes/custom/bar')"

- command: 'drupal:scaffold'
configuration:
drupal:
core: "7"
composer: >
{
"name": "foo/bar",
"type": "drupal-module"
}
contains:
- "[Simulator] Running ./vendor/bin/run 'setup:behat'"
- "[Simulator] Running ./vendor/bin/run 'setup:phpunit'"
- "WriteConfiguration('./web/sites/default/drushrc.php'"
- "AppendConfiguration('./web/sites/default/default.settings.php'"
- "symlink('.', './build/sites/all/modules/custom/bar')"

- command: 'drupal:scaffold'
configuration:
drupal:
core: "7"
composer: >
{
"name": "foo/bar",
"type": "drupal-theme"
}
contains:
- "symlink('.', './build/sites/all/themes/custom/bar')"

0 comments on commit 07b4117

Please sign in to comment.