I'm new at PHPUnit and Codeception.
I've been working with codeception unit test (the ones that have both funcionalities, Codeception and Phpuni, working together). I've done some easy cases and I've used Codeception/Verify lib, it has been really useful.
The problem now is that I've been trying to use some code like this, in my Codeception test, but it keeps telling me that those methods are not recognized.
$this->call('POST', 'account/create', ['email' => 'firstname.lastname@example.org']);
The error I see is something like this:
Call to undefined method PaymentConditionUnitsTest::call()
The thing is that I would want to call some routes to get specific exceptions and validation errors. Is it possible to use this methods from PHPUnit test in Codeception tests?
Can anyone explain me how should I do this?
Thanks in advance.