Skip to content

Commit

Permalink
Use more of the test-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 10, 2019
1 parent 82bc6a4 commit db8aee0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 65 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ env:
before_script:
- composer require "simplesamlphp/simplesamlphp:${SIMPLESAMLPHP_VERSION}" --no-update
- composer update --no-interaction
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then composer require --dev vimeo/psalm:1.1.9; fi

script:
- bin/check-syntax.sh
- vendor/simplesamlphp/simplesamlphp-test-framework/bin/check-syntax-php.sh
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/phpunit/phpunit/phpunit; else php vendor/phpunit/phpunit/phpunit --no-coverage; fi
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then vendor/bin/psalm; fi

Expand Down
15 changes: 0 additions & 15 deletions bin/check-syntax.sh

This file was deleted.

6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
},
"require-dev": {
"simplesamlphp/simplesamlphp": "^1.17",
"phpunit/phpunit": "~5.7"
"simplesamlphp/simplesamlphp-test-framework": "^0.0.10"
},
"support": {
"issues": "https://github.com/tvdijen/simplesamlphp-module-adfs/issues",
"source": "https://github.com/tvdijen/simplesamlphp-module-adfs"
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-adfs/issues",
"source": "https://github.com/simplesamlphp/simplesamlphp-module-adfs"
}
}
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<phpunit bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="The project's test suite">
<directory>./vendor/simplesamlphp/simplesamlphp-test-framework/tests/</directory>
<directory>tests/</directory>
</testsuite>
</testsuites>
Expand Down
45 changes: 0 additions & 45 deletions tests/www/TemplateTest.php

This file was deleted.

0 comments on commit db8aee0

Please sign in to comment.