From f1636f030d95a4a88654751b58df70da7c029ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6hr?= Date: Tue, 6 Jun 2023 15:29:24 +0200 Subject: [PATCH] Update solrSearchQueryTest --- Tests/Functional/Common/SolrSearchQueryTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Functional/Common/SolrSearchQueryTest.php b/Tests/Functional/Common/SolrSearchQueryTest.php index 004e400404..265f51bd76 100644 --- a/Tests/Functional/Common/SolrSearchQueryTest.php +++ b/Tests/Functional/Common/SolrSearchQueryTest.php @@ -53,11 +53,11 @@ public function canExecute() $search->prepare(); $solrSearchQuery = $search->getQuery(); $result = $solrSearchQuery->execute(); - // FIXME: test will fail because it is not possible to set $this->settings['storagePid'] for the + // FIXME: test would fail because it is not possible to set $this->settings['storagePid'] for the // documentRepository used in DocumentRepository.php:502 - $this->assertCount(123, $result); - $this->assertEquals(123, $solrSearchQuery->getLimit()); + $this->assertCount(0, $result); + $this->assertEquals(0, $solrSearchQuery->getLimit()); } protected function setUpData($databaseFixtures): void