Skip to content

Commit

Permalink
Adopt to new phpuinit
Browse files Browse the repository at this point in the history
  • Loading branch information
VolCh committed Nov 16, 2017
1 parent 51de7c5 commit db924e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -72,11 +72,11 @@ install:
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || git clone -q -b codeception-2.2 https://github.com/janhenkgerritsen/codeception-lumen-sample.git frameworks-lumen'
- '[[ "$TRAVIS_PHP_VERSION" == "5.4" ]] || [[ "$TRAVIS_PHP_VERSION" == "5.5" ]] || composer update -d frameworks-lumen $composer_parameters'
# Symfony
- '[[ "$SYMFONY" > "3.0.0" ]] || (git clone -q -b 2.1 https://github.com/Codeception/symfony-demo.git frameworks-symfony && echo "Cloned Symfony 2 site")'
- '[[ "$SYMFONY" < "3.0.0" ]] || (git clone -q -b master --recursive https://github.com/Naktibalda/codeception-symfony-tests frameworks-symfony && echo "Cloned Symfony 3 site")'
- '[[ -z "$SYMFONY" ]] || composer require -d frameworks-symfony symfony/symfony=~$SYMFONY --no-update'
- "mysql -e 'create database symfony_test;'"
- 'composer update -d frameworks-symfony $composer_parameters'
# - '[[ "$SYMFONY" > "3.0.0" ]] || (git clone -q -b 2.1 https://github.com/Codeception/symfony-demo.git frameworks-symfony && echo "Cloned Symfony 2 site")'
# - '[[ "$SYMFONY" < "3.0.0" ]] || (git clone -q -b master --recursive https://github.com/Naktibalda/codeception-symfony-tests frameworks-symfony && echo "Cloned Symfony 3 site")'
# - '[[ -z "$SYMFONY" ]] || composer require -d frameworks-symfony symfony/symfony=~$SYMFONY --no-update'
# - "mysql -e 'create database symfony_test;'"
# - 'composer update -d frameworks-symfony $composer_parameters'
# ZF1
- git clone -q -b 2.2 --recursive https://github.com/Naktibalda/codeception-zf1-tests frameworks-zf1
- composer update -d frameworks-zf1 $composer_parameters
Expand Down
3 changes: 1 addition & 2 deletions tests/cli/DataProviderFailuresAndExceptionsCest.php
Expand Up @@ -135,11 +135,10 @@ public function runTestWithDataProvidersExceptionStderr(\CliGuy $I)
$I->dontSeeInShellOutput('DataProvider \'rectangle\' for DataProvidersFailureCest->testIsTriangle ');

// We should just see the exception and the message
$I->seeInShellOutput('[Exception]');
$I->seeInShellOutput('Something went wrong!!!');
// We don't have the verbose flag set, so there should be no trace.
$I->dontSeeInShellOutput('Exception trace:');
$I->dontSeeInShellOutput('DataProvidersExceptionCest');
$I->seeInShellOutput('DataProvidersExceptionCest');
$I->seeResultCodeIs(1);

}
Expand Down

0 comments on commit db924e0

Please sign in to comment.