This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
Use more Dependency Injection to make unit testing easier #125
Labels
enhancement
New feature or request
Some PHP classes and methods etc. should be rewritten to use more Dependency Injection to make unit testing easier in the codebase. Currently it's very hard to write good unit tests for some class methods that construct objects in the method itself. Some example methods with this problem are
User::session_new()
andSlide::store_uploaded_asset()
.The text was updated successfully, but these errors were encountered: