|
@@ 74-79 (lines=6) @@
|
| 71 |
|
->with('asset-pipeline.enabled', false) |
| 72 |
|
->will($this->returnValue($isAssetPipelineEnabled)); |
| 73 |
|
|
| 74 |
|
if (!$showAssetPipelineError) { |
| 75 |
|
$this->request->expects($this->once()) |
| 76 |
|
->method('isUserAgent') |
| 77 |
|
->with(['/(MSIE)|(Trident)/']) |
| 78 |
|
->will($this->returnValue($isIE)); |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
if ($showAssetPipelineError) { |
| 82 |
|
$actual = $this->controller->index(); |
|
@@ 349-354 (lines=6) @@
|
| 346 |
|
->with('asset-pipeline.enabled', false) |
| 347 |
|
->will($this->returnValue($isAssetPipelineEnabled)); |
| 348 |
|
|
| 349 |
|
if (!$showAssetPipelineError) { |
| 350 |
|
$this->request->expects($this->once()) |
| 351 |
|
->method('isUserAgent') |
| 352 |
|
->with(['/(MSIE)|(Trident)/']) |
| 353 |
|
->will($this->returnValue($isIE)); |
| 354 |
|
} |
| 355 |
|
|
| 356 |
|
if ($showAssetPipelineError) { |
| 357 |
|
$actual = $this->controller->index(); |