nextcloud/apps/files/tests
Daniel Calviño Sánchez 217b711dbb Fix empty details view after renaming a file
"FileList._updateDetailsView" expects either a file name (as a string)
or a file model (as an "OCA.File.FileInfoModel"), but when called
through "updateInList" an "OC.Files.FileInfo" object was given instead.
As the given attribute was not a model "_updateDetailsView" treated it
as a file name and tried to get the model for that file, which failed
and caused the details view to be emptied.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-11 13:25:41 +01: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 Fix empty details view after renaming a file 2018-01-11 13:25:41 +01:00
HelperTest.php Correctly format OCS response with favorites 2017-09-04 11:49:19 +02:00