Skip to content

Commit

Permalink
Mock minimum strength queries with the correct strength values
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaKind committed Mar 6, 2025
1 parent be74253 commit 45d6f4f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/Controller/BrowseControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ public function it_displays_the_requested_minimum_strength_in_the_filter_dropdow
$client = static::createClient();
$this->setUpApiMocksForMinimumStrengthQuery();

$this->markTestSkipped();
$crawler = $client->request('GET', '/browse?minimumStrength=solid');

$this->assertStatusCodeIs200($client);
Expand Down Expand Up @@ -391,7 +390,8 @@ private function buildSearchApiRequestForOneItemWithSolidStrength()
'per-page' => '1',
'sort' => 'date',
'order' => 'desc',
'elifeAssessmentStrength[]' => ['solid'],
'elifeAssessmentSignificance[]' => ['important', 'fundamental', 'landmark', 'useful', 'valuable', 'not-assigned'],
'elifeAssessmentStrength[]' => ['exceptional', 'compelling', 'convincing', 'solid'],
'type[]' => $this->researchTypes,
'use-date' => 'default',
]);
Expand Down Expand Up @@ -434,7 +434,8 @@ private function buildSearchApiRequestForTenItemsWithSolidStrength()
'per-page' => '10',
'sort' => 'date',
'order' => 'desc',
'elifeAssessmentStrength[]' => ['solid'],
'elifeAssessmentSignificance[]' => ['important', 'fundamental', 'landmark', 'useful', 'valuable', 'not-assigned'],
'elifeAssessmentStrength[]' => ['exceptional', 'compelling', 'convincing', 'solid'],
'type[]' => $this->researchTypes,
'use-date' => 'default',
]);
Expand Down

0 comments on commit 45d6f4f

Please sign in to comment.