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

Move behat.yml to behat.yml.dist #24

Merged
merged 1 commit into from
Jun 22, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ composer.phar
.buildpath
.project
.settings/

behat.yml
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ before_script:

# execute behat as the script command
script:
- php bin/behat -vv --profile $PROFILE --suite $TEST
- php bin/behat -c behat.yml.dist -vv --profile $PROFILE --suite $TEST

# disable mail notifications
notification:
Expand Down
8 changes: 5 additions & 3 deletions behat.yml → behat.yml.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file contains the default configuration for behat testing using EzSystems/BehatBundle

default:
extensions:
Behat\MinkExtension:
Expand Down Expand Up @@ -25,21 +27,21 @@ rest:
suites:
fullJson:
paths: [ vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishRestBundle/Features ]
contexts:
contexts:
- eZ\Bundle\EzPublishRestBundle\Features\Context\RestContext:
url: http://localhost/api/ezp/v2/
driver: BuzzDriver
type: json
fullXml:
paths: [ vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishRestBundle/Features ]
contexts:
contexts:
- eZ\Bundle\EzPublishRestBundle\Features\Context\RestContext:
url: http://localhost/api/ezp/v2/
driver: BuzzDriver
type: xml
guzzle:
paths: [ vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishRestBundle/Features ]
contexts:
contexts:
- eZ\Bundle\EzPublishRestBundle\Features\Context\RestContext:
url: http://localhost/api/ezp/v2/
driver: GuzzleDriver
Expand Down