Code Duplication    Length = 6-6 lines in 2 locations

tests/php/controller/viewcontrollerTest.php 2 locations

@@ 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();
@@ 364-369 (lines=6) @@
361
			->with('asset-pipeline.enabled', false)
362
			->will($this->returnValue($isAssetPipelineEnabled));
363
364
		if (!$showAssetPipelineError) {
365
			$this->request->expects($this->once())
366
				->method('isUserAgent')
367
				->with(['/(MSIE)|(Trident)/'])
368
				->will($this->returnValue($isIE));
369
		}
370
371
		if ($showAssetPipelineError) {
372
			$actual = $this->controller->index();