Code Duplication    Length = 8-8 lines in 2 locations

tests/php/controller/viewcontrollerTest.php 2 locations

@@ 138-145 (lines=8) @@
135
		$this->assertEquals('main', $actual->getTemplateName());
136
	}
137
138
	public function indexDataProvider() {
139
		return [
140
			['11.0.1', false, 'yes', 'no'],
141
			['11.0.1', true, 'yes', 'no'],
142
			['12.0.0', false, 'no', 'yes'],
143
			['12.0.0', true, 'no', 'yes'],
144
		];
145
	}
146
147
	public function testIndexNoMonthFallback() {
148
		$this->request->expects($this->once())
@@ 481-488 (lines=8) @@
478
		$this->assertEquals('public', $actual->getTemplateName());
479
	}
480
481
	public function indexPublicDataProvider() {
482
		return [
483
			['11.0.0', false, 'yes', 'no'],
484
			['11.0.0', true, 'yes', 'no'],
485
			['12.0.0', false, 'no', 'yes'],
486
			['12.0.0', true, 'no', 'yes'],
487
		];
488
	}
489
}
490