Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

behat not found in dev install #291

Closed
marqpdx opened this issue Sep 5, 2016 · 1 comment
Closed

behat not found in dev install #291

marqpdx opened this issue Sep 5, 2016 · 1 comment

Comments

@marqpdx
Copy link

marqpdx commented Sep 5, 2016

Hi,

i have installed open social using the instructions here (https://github.com/goalgorilla/drupal_social/wiki/Installing-and-updating with the one amendment noted in the other issue). It runs fine.

When i goto run the Behat unit tests, following these instructions (https://github.com/goalgorilla/drupal_social/wiki/How-to-run-the-Behat-tests-locally), and i get an error:
bash: behat: command not found

has the docker install perhaps changed since the instructions were written?

thanks,
m

@ronaldtebrake
Copy link
Collaborator

Hi,

I think the instruction are still correct. But most likely we have committed a wrong composer.lock file, which doesn't include Behat.
This will be fixed in the next beta release, but for now what you could do is try the following:

docker exec -it social_behat bash
cd /root/.composer/
rm composer.lock
composer update

Thanks,

jaapjan added a commit that referenced this issue Sep 14, 2016
…on instead of using a separate composer.json file for the docker image. It should fix issue #291 as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants