nextcloud/apps/files/tests
Roeland Jago Douma 38548a7006
Correctly format OCS response with favorites
The helper funtion did not handle the response correctly and basically
only returned the last share with tags.

This is a simple rewrite. That is still understandable. Loops maybe more
than strictly required. But preformance is not the issue here.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-09-04 11:49:19 +02:00
..
Activity Add tests for getUser() 2017-02-07 12:01:28 +01:00
BackgroundJob Fix getMock files 2016-09-06 09:29:27 +02:00
Command Introduce an event for first time login based on the last login time stamp 2016-11-14 14:50:10 +01:00
Controller Adjust the unit test 2017-06-13 12:28:13 -05:00
Service Add tests for favorite action 2016-12-04 12:54:34 +01:00
Settings Use MockBuilder instead of createMock 2016-08-15 16:43:22 +02:00
js Don't try the actual file upload if the checks already error out 2017-08-26 13:34:29 +02:00
HelperTest.php Correctly format OCS response with favorites 2017-09-04 11:49:19 +02:00