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())
@@ 511-518 (lines=8) @@
508
		$this->assertEquals('public', $actual->getTemplateName());
509
	}
510
511
	public function indexPublicDataProvider() {
512
		return [
513
			['11.0.0', false, 'yes', 'no'],
514
			['11.0.0', true, 'yes', 'no'],
515
			['12.0.0', false, 'no', 'yes'],
516
			['12.0.0', true, 'no', 'yes'],
517
		];
518
	}
519
}
520