Skip to content

Commit

Permalink
[TASK] Reenable skipped test of SearchControllerTest
Browse files Browse the repository at this point in the history
Reenables test case "canDoAnInitialEmptySearchWithoutResults" of
SearchControllerTest, as issue was already fixed in TYPO3-Solr#3112.

Resolves: TYPO3-Solr#3150
Releated: TYPO3-Solr#3112
Ports: TYPO3-Solr#3230
  • Loading branch information
dkd-kaehm committed Oct 16, 2023
1 parent 3fc39a1 commit e9a0d9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tests/Integration/Controller/SearchControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,9 @@ public function canDoAnInitialEmptySearchWithResults(): void
/**
* @test
* @group frontend
* @todo: https://github.com/TYPO3-Solr/ext-solr/issues/3150
*/
public function canDoAnInitialSearchWithoutResults(): void
{
self::markTestSkipped('Something is wrong with refactored pagination. See https://github.com/TYPO3-Solr/ext-solr/issues/3150');
$this->importCSVDataSet(__DIR__ . '/Fixtures/indexing_data.csv');
$this->addTypoScriptToTemplateRecord(
1,
Expand Down Expand Up @@ -1055,7 +1053,7 @@ public function frontendWillRenderErrorMessageIfSolrNotAvailable(string $action,

self::assertStringContainsString('Search is currently not available.', (string)$response->getBody(), 'Response did not contain solr unavailable error message');
self::markTestIncomplete('The status code can not be checked currently. See: https://github.com/TYPO3/testing-framework/issues/324');
//$this->assertEquals(503, $response->getStatusCode());
//self::assertEquals(503, $response->getStatusCode());
}

/**
Expand Down

0 comments on commit e9a0d9c

Please sign in to comment.