Open wa0x6e opened 9 years ago
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:
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.
staticExpects()
All test required updates for the latest version og phpunit.
New version of Cake is introducing namespace. All test classes are currently namespaced, but the required libraires are not, yet.
App::uses()
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 :kissing_heart:
Great work!
@wa0x6e Is it ready for cake3?
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 :kissing_heart: