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:
parent
c48e00294c
commit
5e1c2aecc7
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue