-
Notifications
You must be signed in to change notification settings - Fork 10
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
chore: update PHPUnit to latest version #93
base: master
Are you sure you want to change the base?
chore: update PHPUnit to latest version #93
Conversation
dfdf9dd
to
6b15abd
Compare
6b15abd
to
928ceae
Compare
->withConsecutive( | ||
->willReturnMap([ | ||
[ 'Trying to initialize HTTP/2 backend...' ], | ||
[ 'Initializing HTTP/2 backend with certificate.' ], | ||
[ 'Retry to connect (1/3)...' ], |
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.
I get that this works but what exactly does this test now? IIRC, if the ReturnMap array is empty it would also succeed, so what does this add?
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.
willReturnCallback
maybe?
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.
How does willReturnCallback
work here?
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.
this is what i've found: https://tomasvotruba.com/blog/how-to-upgrade-deprecated-phpunit-with-consecutive
84f360e
to
10664ae
Compare
->withConsecutive( | ||
->willReturnMap([ | ||
[ 'Trying to initialize HTTP/2 backend...' ], | ||
[ 'Initializing HTTP/2 backend with certificate.' ], | ||
[ 'Retry to connect (1/3)...' ], |
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.
willReturnCallback
maybe?
a844c11
to
4827ac3
Compare
ApnsPHP/Message/Tests/CustomMessageGetPayloadDictionaryTest.php
Outdated
Show resolved
Hide resolved
4827ac3
to
2c2bd3d
Compare
2c2bd3d
to
6c023cb
Compare
No description provided.