Skip to content

Commit 62e45a2

Browse files
MAGETWO-39965: Invalid path parsing in exclude list during bundle collecting
1 parent 68ecbe2 commit 62e45a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/View/Test/Unit/Asset/Bundle/ManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testAddAssetWithExcludedFile()
110110
->willReturn($configView);
111111
$configView->expects($this->once())
112112
->method('getExcludedFiles')
113-
->willReturn(['Lib::file/path.js']);
113+
->willReturn(['Lib:' . ':file/path.js']);
114114

115115
$this->assertFalse($this->manager->addAsset($this->asset));
116116
}
@@ -152,7 +152,7 @@ public function testAddAssetWithExcludedDirectory()
152152
->willReturn([]);
153153
$configView->expects($this->once())
154154
->method('getExcludedDir')
155-
->willReturn(['Lib::file']);
155+
->willReturn(['Lib:' . ':file']);
156156

157157
$this->assertFalse($this->manager->addAsset($this->asset));
158158
}

0 commit comments

Comments
 (0)