nextcloud/apps/files/tests
Roeland Jago Douma eea7de4c9f
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-08-29 12:03:13 +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 Fix sorting of entries in Files sidebar 2017-08-25 18:40:28 +02: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 11:30:04 +02:00
HelperTest.php Correctly format OCS response with favorites 2017-08-29 12:03:13 +02:00