Code Duplication    Length = 8-8 lines in 2 locations

tests/php/controller/viewcontrollerTest.php 2 locations

@@ 144-151 (lines=8) @@
141
		$this->assertEquals('main', $actual->getTemplateName());
142
	}
143
144
	public function indexDataProvider() {
145
		return [
146
			['11.0.1', false, 'yes', 'no'],
147
			['11.0.1', true, 'yes', 'no'],
148
			['12.0.0', false, 'no', 'yes'],
149
			['12.0.0', true, 'no', 'yes'],
150
		];
151
	}
152
153
	public function testIndexNoMonthFallback() {
154
		$this->request->expects($this->once())
@@ 489-496 (lines=8) @@
486
		$this->assertEquals('public', $actual->getTemplateName());
487
	}
488
489
	public function indexPublicDataProvider() {
490
		return [
491
			['11.0.0', false, 'yes', 'no'],
492
			['11.0.0', true, 'yes', 'no'],
493
			['12.0.0', false, 'no', 'yes'],
494
			['12.0.0', true, 'no', 'yes'],
495
		];
496
	}
497
}
498