CakePHP 3: Cookie component and test cases

Hello,

I am building a plugin for learning purpose. In my plugin, I use CookieComponent to store data in cookie.
My test cases are failing due to CookieComponent.

Here is my code: https://github.com/narendravaghela/cakephp-remember-me
Here is travis build log: https://travis-ci.org/narendravaghela/cakephp-remember-me/jobs/124758432

Can anyone help me to sort this out?

Thank you

There was a bug in the CookieComponent when using a custom encryption key together with configKey.
It’s fixed by https://github.com/cakephp/cakephp/pull/8711

Thank you @joris

After applying your changes, I got them working. So, waiting for this fix to be merged.

I have this error, why?