File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
lib/internal/Magento/Framework/Css/Test/Unit/PreProcessor/Adapter/Less Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ protected function setUp()
81
81
* Test for processContent method (exception)
82
82
*
83
83
* @expectedException \Magento\Framework\View\Asset\ContentProcessorException
84
- * @expectedExceptionMessageRegExp (Compilation from source:.* Test exception)
84
+ * @expectedExceptionMessageRegExp (Test exception)
85
85
*/
86
86
public function testProcessContentException ()
87
87
{
@@ -96,12 +96,6 @@ public function testProcessContentException()
96
96
->with ($ assetMock )
97
97
->willThrowException (new \Exception (self ::ERROR_MESSAGE ));
98
98
99
- $ this ->loggerMock ->expects (self ::once ())
100
- ->method ('critical ' )
101
- ->with (
102
- PHP_EOL . Processor::ERROR_MESSAGE_PREFIX . PHP_EOL . self ::ASSET_PATH . PHP_EOL . self ::ERROR_MESSAGE
103
- );
104
-
105
99
$ this ->temporaryFileMock ->expects (self ::never ())
106
100
->method ('createFile ' );
107
101
You can’t perform that action at this time.
0 commit comments