Browse Source

Tests are passing with PHPUnit 4.1, updating accordingly

Jose Lorenzo Rodriguez 12 years ago
parent
commit
da864ac120
3 changed files with 2 additions and 5 deletions
  1. 1 1
      .travis.yml
  2. 1 1
      README.md
  3. 0 3
      composer.json

+ 1 - 1
.travis.yml

@@ -43,7 +43,7 @@ before_script:
   - set +H
 
 script:
-  - sh -c "if [ '$PHPCS' != '1' ]; then vendor/bin/phpunit --stderr; fi"
+  - sh -c "if [ '$PHPCS' != '1' ]; then phpunit; fi"
   - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./src ./tests; fi"
 
 notifications:

+ 1 - 1
README.md

@@ -31,7 +31,7 @@ tests for cakephp by doing the following:
 1. Copy `phpunit.xml.dist` to `phpunit.xml`
 2. Add the relevant database credentials to your phpunit.xml if you want to run tests against
    a non-SQLite datasource.
-3. Run `phpunit --stderr`
+3. Run `phpunit`
 
 ## Contributing
 

+ 0 - 3
composer.json

@@ -24,9 +24,6 @@
 		"ext-mbstring": "*",
 		"nesbot/Carbon": "1.8.*"
 	},
-	"require-dev": {
-		"phpunit/phpunit": "3.7.33"
-	},
 	"autoload": {
 		"psr-4": {
 			"Cake\\": "src",