Codeception / module-phalcon4

Phalcon 4 module for Codeception
https://codeception.com/docs/modules/Phalcon4
MIT License
3 stars 8 forks source link

MemorySession adapter shouldn't rewrite 'session' service, a manager should #8

Closed mikacalvo closed 4 years ago

mikacalvo commented 4 years ago

Following those guidelines : https://docs.phalcon.io/4.0/en/session#custom

Phalcon's 'session' service is now a manager. You overwrite it with an adapter. Therefore, as an example, calling session->destroy() method fails in the unit tests.

Thanks 💪