Skip to content

Commit b4de87e

Browse files
committed
Use more of the test-framework
1 parent 63e0323 commit b4de87e

4 files changed

Lines changed: 5 additions & 20 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ matrix:
1919
before_script:
2020
- composer require "simplesamlphp/simplesamlphp:${SIMPLESAMLPHP_VERSION}" --no-update
2121
- composer update --no-interaction
22-
- if [[ "$TRAVIS_PHP_VERSION" == "7.3" ]]; then composer require --dev vimeo/psalm:1.1.9; fi
2322

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

bin/check-syntax.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
},
3333
"require-dev": {
3434
"simplesamlphp/simplesamlphp": "^1.17",
35-
"phpunit/phpunit": "~5.7"
35+
"simplesamlphp/simplesamlphp-test-framework": "^0.0.10"
3636
},
3737
"support": {
38-
"issues": "https://github.com/tvdijen/simplesamlphp-module-exampleattributeserver/issues",
39-
"source": "https://github.com/tvdijen/simplesamlphp-module-exampleattributeserver"
38+
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-exampleattributeserver/issues",
39+
"source": "https://github.com/simplesamlphp/simplesamlphp-module-exampleattributeserver"
4040
}
4141
}

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<phpunit bootstrap="tests/bootstrap.php">
33
<testsuites>
44
<testsuite name="The project's test suite">
5+
<directory>./vendor/simplesamlphp/simplesamlphp-test-framework/tests/</directory>
56
<directory>tests/</directory>
67
</testsuite>
78
</testsuites>

0 commit comments

Comments
 (0)