Skip to content

Commit ea724b0

Browse files
committed
test: replace deprecated meets with satisfies
1 parent 9e88720 commit ea724b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/HasSpecificationsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function test_it_should_pass_the_candidate_to_the_specification(): void
2121
$candidate = new Candidate();
2222

2323
// Act + Assert
24-
$this->assertTrue($candidate->meets(new PositiveSpecification()));
25-
$this->assertFalse($candidate->meets(new NegativeSpecification()));
24+
$this->assertTrue($candidate->satisfies(new PositiveSpecification()));
25+
$this->assertFalse($candidate->satisfies(new NegativeSpecification()));
2626
}
2727
}

0 commit comments

Comments
 (0)