Skip to content

Commit

Permalink
Make elifeAssessment properties realistic with respect to the schema
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaKind committed Feb 26, 2025
1 parent be4f605 commit 238551b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/src/Search/Web/ElifeAssessmentTermsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ private function provideArticleWithElifeAssessmentSignificance(string $significa
[
'id' => (string) rand(1, 99999),
'elifeAssessment' => [
'title' => 'eLife assessment',
'content' => [
[
'type' => 'paragraph',
'text' => 'lorem ipsum',
],
],
'significance' => [$significance],
],
],
Expand All @@ -120,6 +127,13 @@ private function provideArticleWithElifeAssessmentAndNoSignificance()
[
'id' => (string) rand(1, 99999),
'elifeAssessment' => [
'title' => 'eLife assessment',
'content' => [
[
'type' => 'paragraph',
'text' => 'lorem ipsum',
],
],
'significance' => [],
],
],
Expand Down

0 comments on commit 238551b

Please sign in to comment.