Skip to content

Commit 04a049f

Browse files
committed
Set zend.assertions=1
1 parent 6911545 commit 04a049f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build-ci-atlas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ jobs:
9191
- name: "Run tests"
9292
run: |
9393
export MONGODB_URI="mongodb://127.0.0.1:27017/?directConnection=true"
94-
./vendor/bin/phpunit --coverage-clover coverage.xml --group atlas-search
94+
php -d zend.assertions=1 ./vendor/bin/phpunit --coverage-clover coverage.xml --group atlas-search

.github/workflows/build-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ jobs:
118118
- name: "Run tests"
119119
run: |
120120
export MONGODB_URI="mongodb://127.0.0.1:27017/?replicaSet=rs"
121-
./vendor/bin/phpunit --coverage-clover coverage.xml --exclude-group atlas-search
121+
php -d zend.assertions=1 ./vendor/bin/phpunit --coverage-clover coverage.xml --exclude-group atlas-search

phpunit.xml.dist

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
<env name="QUEUE_CONNECTION" value="database"/>
2424
<ini name="xdebug.mode" value="coverage"/>
2525
<ini name="memory_limit" value="-1"/>
26-
<ini name="zend.assertions" value="1"/>
26+
<!-- Evaluate assertions, requires running with "php -d zend.assertions=1 vendor/bin/phpunit" -->
27+
<!-- <ini name="zend.assertions=1" value="1" /> -->
2728
</php>
2829

2930
<source restrictDeprecations="true"

0 commit comments

Comments
 (0)