-
Notifications
You must be signed in to change notification settings - Fork 9
Add missing assertion tests #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f2726e6
to
ba804f7
Compare
@TavoNiievez @Naktibalda WDYT about this PR? #28 should be merged beforehand. |
@W0rma Please make a rebase against master. |
@TavoNiievez Done - thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Could this be related to https://github.com/Codeception/Codeception/actions/runs/14649174925/job/41110601647?pr=6846 ? There was 1 error:
1) AssertsTest: Php unit asserts
Test tests/unit/Codeception/Module/AssertsTest.php:testPHPUnitAsserts
Error: ;1m [Error] Call to undefined method PHPUnit\Framework\Assert::assertClassHasAttribute()
#1 /home/runner/work/Codeception/Codeception/app.php:45
#2 /home/runner/work/Codeception/Codeception/app.php:46
#3 /home/runner/work/Codeception/Codeception/codecept:7
ERRORS!
Tests: 13, Assertions: 40, Errors: 1.
Error: Process completed with exit code 1. |
@TavoNiievez Thank you for the hint. Yes, that's related to the change because before my PR the assertions were not tested. Codeception/Codeception#6847 bumps the version of #30 does the same for the |
This PR is built on top of #28 which enables PHP 8.3 + 8.4 in the CI which is necessary to be able to install PHPUnit 12.
Tests should become green as soon as Codeception/lib-asserts#14 is merged