From 5c99aadd3e898f7b22bae8d2017e56b8281037be Mon Sep 17 00:00:00 2001 From: Joao Inacio Date: Fri, 19 Jun 2015 13:41:18 +0100 Subject: [PATCH] Move behat.yml to behat.yml.dist --- .gitignore | 2 +- .travis.yml | 2 +- behat.yml => behat.yml.dist | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) rename behat.yml => behat.yml.dist (95%) diff --git a/.gitignore b/.gitignore index edd6f27da0..f9888a2220 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,4 @@ composer.phar .buildpath .project .settings/ - +behat.yml diff --git a/.travis.yml b/.travis.yml index 3745716730..1637b2a6c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/behat.yml b/behat.yml.dist similarity index 95% rename from behat.yml rename to behat.yml.dist index 49f4a549fa..0859abcbd0 100644 --- a/behat.yml +++ b/behat.yml.dist @@ -1,3 +1,5 @@ +# This file contains the default configuration for behat testing using EzSystems/BehatBundle + default: extensions: Behat\MinkExtension: @@ -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