Skip to content

Commit

Permalink
[BUGS-7319] [LOPS-2012] Remove behat for D9 and wordpress (#486)
Browse files Browse the repository at this point in the history
* Remove behat

* Remove commented behat code
  • Loading branch information
namespacebrian authored Mar 11, 2024
1 parent 9593d6b commit db2e15e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ This command will commit the generated artifacts to an existing multidev environ

### Commenting on a pull request or merge request

`terminus build:comment:add:pr --pr_number=123 --message="Behat tests passed!"`
`terminus build:comment:add:pr --pr_number=123 --message="Tests passed!"`

## Help
Run `terminus list build` for a complete list of available commands. Use `terminus help <command>` to get help on one command.
Expand Down
5 changes: 0 additions & 5 deletions src/Commands/ProjectCreateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,17 +374,12 @@ public function createProject(
// Require basic testing general packages.
exec("composer --working-dir=$siteDir require --no-update --dev dealerdirect/phpcodesniffer-composer-installer squizlabs/php_codesniffer");
exec("composer --working-dir=$siteDir config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true");
// Require behat related general packages.
exec("composer --working-dir=$siteDir require --no-update --dev behat/behat behat/mink dmore/behat-chrome-extension genesis/behat-fail-aid jcalderonzumba/mink-phantomjs-driver mikey179/vfsstream");

// Install packages depending on the application.
if ($app === 'Drupal') {
exec("composer --working-dir=$siteDir require --no-update --dev drupal/coder drupal/drupal-extension drupal/drupal-driver");
exec("composer --working-dir=$siteDir require --no-update --dev drush-ops/behat-drush-endpoint");
exec("composer --working-dir=$siteDir require --no-update pantheon-systems/quicksilver-pushback");
} elseif (strtolower($app) === 'wordpress') {
exec("composer --working-dir=$siteDir require --no-update --dev wp-coding-standards/wpcs");
//exec("composer --working-dir=$siteDir require --no-update --dev paulgibbs/behat-wordpress-extension --ignore-platform-reqs");
}
exec("composer --working-dir=$siteDir update");
}
Expand Down

0 comments on commit db2e15e

Please sign in to comment.