From af5f5ae959b5ddaf4d661cbe53ec790c863cc53b Mon Sep 17 00:00:00 2001 From: Joao Inacio Date: Mon, 1 Jun 2015 08:53:23 +0100 Subject: [PATCH] Move behat.yml to behat.yml.dist --- .gitignore | 2 +- .travis.yml | 4 ++-- behat.yml => behat.yml.dist | 8 +++++--- 3 files changed, 8 insertions(+), 6 deletions(-) rename behat.yml => behat.yml.dist (95%) diff --git a/.gitignore b/.gitignore index 0bd620a9..ca34f73a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,4 +26,4 @@ composer.lock .buildpath .project .settings/ - +behat.yml diff --git a/.travis.yml b/.travis.yml index 502cdc74..8eba58ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/behat.yml b/behat.yml.dist similarity index 95% rename from behat.yml rename to behat.yml.dist index b16808e3..80da8f2d 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