fix failling test on Jenkins after ee1e270

This test is failling build on 2.5, 2.6 and 3.0 since #4477
Merge pull request #4594 from cakephp/2.5-fix-jks-build

fix failling test on Jenkins after ee1e270