CakePHP 3: Cookie component and test cases


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:
Here is travis build log:

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

Thank you @joris

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

I have this error, why?