nextcloud/apps/files/tests
Daniel Calviño Sánchez ea40ade8ad Fix "fileActions.currentFile" not set before using it
When an empty area of a file row was clicked and the "Details" action
was executed "fileActions.currentFile" was not guaranteed to be set to
the appropriate object (it depended on the previous actions of the
user), so when it was used by "getCurrentMimeType()" and other
FileActions functions they may not work as expected. Now it is
explicitly set to the appropriate value before its use.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-26 04:56:25 +01:00
..
Activity Update license headers 2017-11-06 16:56:19 +01:00
BackgroundJob Update license headers 2017-11-06 16:56:19 +01:00
Command Use ::class in test mocks of encryption app 2017-10-26 13:56:56 +02:00
Controller Update license headers 2017-11-06 16:56:19 +01:00
Service Add tests for favorite action 2016-12-04 12:54:34 +01:00
Settings Update license headers 2017-11-06 16:56:19 +01:00
js Fix "fileActions.currentFile" not set before using it 2017-12-26 04:56:25 +01:00
HelperTest.php Update license headers 2017-11-06 16:56:19 +01:00