Closed denkurbatov closed 4 years ago
/cc @Jeckerson
@sergeyklay Are we still supporting Phalcon v3 here?
Phalcon module only supports Phalcon v3. Maybe v2 too.
I see that a new repository was created for Phalcon4 module at https://github.com/Codeception/module-phalcon4
@denkurbatov Do you have the possibility to test with Phalcon 4? It's fixed in v1.0.2
@ruudboon Yes, I will try. But I'm not sure that my old apps ready for Phalcon 4 :) Will let you know, thank you a lot.
@ruudboon I have checked it, and it works as expected with Phalcon 4 and this codeception module. Thank you a lot for a quick fix.
Is it possible to make same fix to module https://github.com/Codeception/module-phalcon as well? I already checked, same fix works also in old module version :) Thank you anyway, even if you don't support old version of Phalcon anymore will do my best for updating old apps to Phalcon 4 :)
Let's open a new issue at https://github.com/Codeception/module-phalcon if this is still required for v3
Expected and Actual Behavior
I'm trying replace service in DI when write functional test. I'm need it for mock services in DI.
Simple example:
In services.php file:
In IndexCept.php:
In IndexController.php, indexAction:
I expect that var_dump() function return object of NotFoundPlugin class, but get Elements class.
I'm just trying different approaches, like get application instance, get default DI, etc. Still not working. Thank you for any help or suggestions.
Details