Skip to content

Commit a1260e2

Browse files
committed
Use more of the test-framework
1 parent 9976478 commit a1260e2

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
@@ -38,10 +38,10 @@
3838
},
3939
"require-dev": {
4040
"simplesamlphp/simplesamlphp": "^1.17",
41-
"phpunit/phpunit": "~5.7"
41+
"simplesamlphp/simplesamlphp-test-framework": "^0.0.10"
4242
},
4343
"support": {
44-
"issues": "https://github.com/tvdijen/simplesamlphp-module-ldap/issues",
45-
"source": "https://github.com/tvdijen/simplesamlphp-module-ldap"
44+
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-ldap/issues",
45+
"source": "https://github.com/simplesamlphp/simplesamlphp-module-ldap"
4646
}
4747
}

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)