Skip to content

Commit cb33c1c

Browse files
authoredSep 27, 2024··
PHPLIB-1369 Upgrade to PHPUnit 10 (#1412)
* Migration from @annotations to #[Attributes] * Replace hasFailed with the method onNotSuccessfulTest in FunctionalTestCase * User createStub in getInvalidDocumentCodecValues * Update custom constraints (TestCase::exporter() is deprecated and ComparisonFailure 5th argument was removed) * Use xxh faster algorithm for temp collection name
1 parent 2186d4f commit cb33c1c

File tree

110 files changed

+609
-627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+609
-627
lines changed
 

‎.evergreen/run-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if [ "${IS_MATRIX_TESTING}" = "true" ]; then
4343
fi
4444

4545
# Enable verbose output to see skipped and incomplete tests
46-
PHPUNIT_OPTS="${PHPUNIT_OPTS} -v --configuration phpunit.evergreen.xml"
46+
PHPUNIT_OPTS="${PHPUNIT_OPTS} --configuration phpunit.evergreen.xml"
4747

4848
if [ "$SSL" = "yes" ]; then
4949
SSL_OPTS="ssl=true&sslallowinvalidcertificates=true"

‎.github/workflows/tests.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ jobs:
7575
php-ini-values: "zend.assertions=1"
7676

7777
- name: "Run PHPUnit"
78-
run: "vendor/bin/phpunit -v"
78+
run: "vendor/bin/phpunit"
7979
env:
80-
SYMFONY_DEPRECATIONS_HELPER: 999999
8180
MONGODB_URI: ${{ steps.setup-mongodb.outputs.cluster-uri }}

0 commit comments

Comments
 (0)
Please sign in to comment.