Skip to content

Commit 9bf7a2b

Browse files
committed
MAGETWO-33361: Fix Magento\Framework\View\Asset\Minified\ImmutablePathAssetTest
1 parent 65b8bb7 commit 9bf7a2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/unit/testsuite/Magento/Framework/View/Asset/Minified/AbstractAssetTestCase.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace Magento\Framework\View\Asset\Minified;
88

99
use Magento\Framework\App\Filesystem\DirectoryList;
10+
use Magento\Framework\Filesystem\DriverPool;
1011

1112
class AbstractAssetTestCase extends \PHPUnit_Framework_TestCase
1213
{
@@ -58,8 +59,8 @@ protected function setUp()
5859
$this->_filesystem->expects($this->any())
5960
->method('getDirectoryRead')
6061
->will($this->returnValueMap([
61-
[DirectoryList::STATIC_VIEW, $this->_staticViewDir],
62-
[DirectoryList::ROOT, $this->_rootDir],
62+
[DirectoryList::STATIC_VIEW, DriverPool::FILE, $this->_staticViewDir],
63+
[DirectoryList::ROOT, DriverPool::FILE, $this->_rootDir],
6364
]));
6465
$this->_filesystem->expects($this->any())
6566
->method('getDirectoryWrite')

0 commit comments

Comments
 (0)