You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
Master branch is now used for CakePHP 3.0
For the moment, every tests are failing, as they're not updated for both CakePHP 3 and phpunit 4.7. Previous tests were running under phpunit 3.7.
I have done some minor patches to make the tests running again, albeit with errors.
Tests are now failing for 2 reasons:
phpunit
There's some major changes between phpunit 3 and 4, and some functions were either renamed or removed.
Example:
staticExpects()
for mocking static class was removed.All test required updates for the latest version og phpunit.
CakePHP 3
New version of Cake is introducing namespace. All test classes are currently namespaced, but the required libraires are not, yet.
App::uses()
is now removed, and all libraries loaded via this function need to be loaded via autoloading.I'll try to fix these as I have times, but it'll take some times, as I have now moved away from PHP. Any help or PR are welcome 😘
The text was updated successfully, but these errors were encountered: