From 5182a93ed7e1998eae8a6b83456411f70cca9fd7 Mon Sep 17 00:00:00 2001 From: Oleksandr Karpenko <okarpenko@ebay.com> Date: Wed, 23 Sep 2015 15:02:20 +0300 Subject: [PATCH] MAGETWO-42835: Bundled js files are not loaded if minified --- .../Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/Magento/Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php b/lib/internal/Magento/Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php index ae449ed77db..840ed49c995 100644 --- a/lib/internal/Magento/Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php +++ b/lib/internal/Magento/Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php @@ -124,7 +124,7 @@ class ManagerTest extends \PHPUnit_Framework_TestCase ->willReturn($configView); $configView->expects($this->once()) ->method('getExcludedFiles') - ->willReturn(['Lib::source/file.min.js']); + ->willReturn(['Lib:' . ':source/file.min.js']); $this->assertFalse($this->manager->addAsset($this->asset)); } -- GitLab