Commit Graph

6 Commits

Author SHA1 Message Date
Roeland Jago Douma
6a85882f61 Fix tests 2016-08-30 09:00:22 +02:00
Roeland Jago Douma
b1a090f357 AvatarController use proper JSONResponse
* Do not rely on DataResponse magic. We want JSON so use JSON
* Fix tests
2016-08-29 21:52:14 +02:00
Roeland Jago Douma
2f03853fb9 AvatarController cleanup
* Use all DI components
* Let the AppFramework resolve the AvatarController
* Update unit tests
* Unit tests no longer require DB
2016-08-25 21:39:14 +02:00
Roeland Jago Douma
87ac72d004 We have to mock the is_uploaded_file in the OC\Core\Controller namespace 2016-08-15 20:08:20 +02:00
Roeland Jago Douma
09f4ce4389 Fix mock call in AvatarControllerTest 2016-08-15 20:07:07 +02:00
Joas Schilling
392bc0c6b9 Move tests/core/ to PSR-4 2016-05-19 11:18:25 +02:00