And in the Phalcon4, using cookie set with expires is only allow integer, so there will be TypeError when running the test.
[TypeError] Argument 3 passed to Symfony\Component\BrowserKit\Cookie::__construct() must be of the type string or null, int given, called in /root/.composer/vendor/codeception/module-phalcon4/src/Codeception/Lib/Connector/Phalcon4.php on line 156
Maybe convert the timestamp to UTC String for old symfony/browser-kit?
In the old version of
symfony/browser-kit
, the Cookie's__construct
isAnd in the Phalcon4, using cookie set with
expires
is only allow integer, so there will beTypeError
when running the test.Maybe convert the timestamp to UTC String for old symfony/browser-kit?