File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,18 @@ public function testGivenTwoPapersOneExceptionalAndOneCompellingWhenFilteringFor
80
80
$ this ->assertEquals (2 , $ response ['total ' ]);
81
81
}
82
82
83
+ public function testGivenTwoPapersOneExceptionalAndOneWithoutElifAssessmentWhenFilteringForNotApplicableAndExceptionalStrengthItReturnsBothPapers ()
84
+ {
85
+ $ this ->addDocumentsToElasticSearch ([
86
+ $ this ->provideArticleWithElifeAssessmentStrength ('exceptional ' ),
87
+ $ this ->provideArbitraryArticleWithoutElifeAssessment (),
88
+ ]);
89
+ $ response = $ this ->performApiRequest (['elifeAssessmentStrength ' => ['exceptional ' , 'not-applicable ' ]]);
90
+ $ this ->markTestSkipped ();
91
+ // @phpstan-ignore deadCode.unreachable
92
+ $ this ->assertEquals (2 , $ response ['total ' ]);
93
+ }
94
+
83
95
private function toItemIds (array $ items ) : array
84
96
{
85
97
$ ids = [];
You can’t perform that action at this time.
0 commit comments