summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authortbartenstein <tbartenstein@users.noreply.github.com>2015-08-21 18:54:09 +0200
committertbartenstein <tbartenstein@users.noreply.github.com>2015-08-21 18:54:09 +0200
commit5e1c2aecc787c6504704deb85ca2ad493a1ad5d1 (patch)
tree626838097278493022f21288bfa0a7fe2a956735 /apps/files
parentc48e00294c9d331f55b91c55f56daac706ecdf6b (diff)
downloadnextcloud-server-5e1c2aecc787c6504704deb85ca2ad493a1ad5d1.tar.gz
nextcloud-server-5e1c2aecc787c6504704deb85ca2ad493a1ad5d1.zip
fix unit test for folder renaming (icon)
fix unit test to go with #17501 and check for the new icon
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/tests/ajax_rename.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/ajax_rename.php b/apps/files/tests/ajax_rename.php
index a690c7dcb0c..8abde9094d9 100644
--- a/apps/files/tests/ajax_rename.php
+++ b/apps/files/tests/ajax_rename.php
@@ -116,7 +116,7 @@ class Test_OC_Files_App_Rename extends \Test\TestCase {
$this->assertEquals('abcdef', $result['data']['etag']);
$this->assertFalse(isset($result['data']['tags']));
$this->assertEquals('/', $result['data']['path']);
- $icon = \OC_Helper::mimetypeIcon('dir');
+ $icon = \OC_Helper::mimetypeIcon('dir-external');
$icon = substr($icon, 0, -3) . 'svg';
$this->assertEquals($icon, $result['data']['icon']);
}