Code Duplication    Length = 8-8 lines in 2 locations

tests/php/controller/viewcontrollerTest.php 2 locations

@@ 152-159 (lines=8) @@
149
		$this->assertEquals('main', $actual->getTemplateName());
150
	}
151
152
	public function indexDataProvider() {
153
		return [
154
			['11.0.1', false, 'yes', 'no'],
155
			['11.0.1', true, 'yes', 'no'],
156
			['12.0.0', false, 'no', 'yes'],
157
			['12.0.0', true, 'no', 'yes'],
158
		];
159
	}
160
161
	public function testIndexNoMonthFallback() {
162
		$this->request->expects($this->once())
@@ 534-541 (lines=8) @@
531
		$this->assertEquals('public', $actual->getTemplateName());
532
	}
533
534
	public function indexPublicDataProvider() {
535
		return [
536
			['11.0.0', false, 'yes', 'no'],
537
			['11.0.0', true, 'yes', 'no'],
538
			['12.0.0', false, 'no', 'yes'],
539
			['12.0.0', true, 'no', 'yes'],
540
		];
541
	}
542
}
543