[FOLLOWUP] Fix test mocks for IconUtility 18/42018/2
authorSusanne Moog <typo3@susannemoog.de>
Tue, 28 Jul 2015 09:43:57 +0000 (11:43 +0200)
committerAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 28 Jul 2015 09:56:37 +0000 (11:56 +0200)
Change-Id: Ic426b12f680bca46aa8fbf546e02b004c39589c4
Resolves: #64714
Releases: master
Reviewed-on: http://review.typo3.org/42018
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
typo3/sysext/backend/Tests/Unit/Utility/IconUtilityTest.php

index 71f810c..b9baa64 100644 (file)
@@ -55,6 +55,7 @@ class IconUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                        new \TYPO3\CMS\Core\Resource\Folder($mockedStorage, '/', '/')
                ));
                $mockedStorage->expects($this->any())->method('checkFolderActionPermission')->will($this->returnValue(TRUE));
+               $mockedStorage->expects($this->any())->method('isBrowsable')->will($this->returnValue(TRUE));
                return new \TYPO3\CMS\Core\Resource\Folder($mockedStorage, $identifier, $identifier);
        }