Skip to content

Commit

Permalink
Write another regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgiosironi committed Dec 12, 2024
1 parent 3f07824 commit fc6cdc9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/ViewModel/Converter/TeaserTermsBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,14 @@ final public function it_builds_strength_terms_when_there_are_strength_terms_and
/**
* @test
*/
final public function it_builds_terms_using_both_strength_and_significance_terms()
final public function it_builds_terms_using_both_significance_and_strength_terms_in_that_order()
{
$this->markTestIncomplete('incomplete');
$builder = new TeaserTermsBuilder();

$elifeAssessment = new ElifeAssessment(['landmark'], ['solid']);
$result = $builder->build($elifeAssessment);

$expected = new TeaserTerms([new Term('Landmark'), new Term('Solid')]);
$this->assertEquals($expected, $result);
}
}

0 comments on commit fc6cdc9

Please sign in to comment.