You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is a need to call $mock->__phpunit_verify() manually at the end of the test. In case if it is impossible to do this automatically, codeception need to have documentation on this nuance .
Thank you!
The text was updated successfully, but these errors were encountered:
To make verification working automatically you have to pass an instance of PhpUnit_Framework_TestCase as the last argument to Stub::makeX() method. $this works in all test formats in Codeception 2.1.
See #440 and especially this comment.
Currently, there is a need to call
$mock->__phpunit_verify()
manually at the end of the test. In case if it is impossible to do this automatically, codeception need to have documentation on this nuance .Thank you!
The text was updated successfully, but these errors were encountered: