Code Duplication    Length = 8-8 lines in 2 locations

tests/ElasticSearchPageControllerTest.php 2 locations

@@ 356-363 (lines=8) @@
353
	}
354
355
356
	public function testSimilarSearchServerDown() {
357
		$searchPageObj = $this->ElasticSearchPage2;
358
		$url = rtrim($searchPageObj->Link(), '/');
359
		$url .= "/similar/FlickrPhotoTO/77?ServerDown=1";
360
		$response = $this->get($url);
361
		$this->assertSelectorStartsWithOrEquals('div.error', 0,
362
			'Unable to connect to search server');
363
	}
364
365
366
	public function testNormalSearchServerDown() {
@@ 366-373 (lines=8) @@
363
	}
364
365
366
	public function testNormalSearchServerDown() {
367
		$searchPageObj = $this->ElasticSearchPage2;
368
		$url = rtrim($searchPageObj->Link(), '/');
369
		$url .= "?q=Zealand&ServerDown=1";
370
		$response = $this->get($url);
371
		$this->assertSelectorStartsWithOrEquals('div.error', 0,
372
			'Unable to connect to search server');
373
	}
374
375
376
	public function testSimilarValid() {