diff options
author | tbartenstein <tbartenstein@users.noreply.github.com> | 2015-08-21 18:54:09 +0200 |
---|---|---|
committer | tbartenstein <tbartenstein@users.noreply.github.com> | 2015-08-21 18:54:09 +0200 |
commit | 5e1c2aecc787c6504704deb85ca2ad493a1ad5d1 (patch) | |
tree | 626838097278493022f21288bfa0a7fe2a956735 /apps/files | |
parent | c48e00294c9d331f55b91c55f56daac706ecdf6b (diff) | |
download | nextcloud-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.php | 2 |
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']); } |