Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Commit

Permalink
Move behat.yml to behat.yml.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao Inacio committed Jun 1, 2015
1 parent 3a839d7 commit af5f5ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ composer.lock
.buildpath
.project
.settings/

behat.yml
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ before_script:
# since setup wizard need to actually work to the other test suites to pass
# moved it to before_script so that the random timeout on package fetching
# don't fail travis
- php bin/behat --profile setupWizard --suite $INSTALL
- php bin/behat -c behat.yml.dist --profile setupWizard --suite $INSTALL

# 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

0 comments on commit af5f5ae

Please sign in to comment.