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