fix unit test for folder renaming (icon)

fix unit test to go with #17501 and check for the new icon
This commit is contained in:
tbartenstein 2015-08-21 18:54:09 +02:00
parent c48e00294c
commit 5e1c2aecc7
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}