Skip to content

Commit

Permalink
Update APITestCaseWriter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
usernane committed Oct 15, 2024
1 parent 95dee9c commit b5af5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webfiori/framework/writers/APITestCaseWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private function writeTestCases() {
}
}
private function addTestAnnotation() {
if ($this->phpunitV >= 10) {
if ($this->getPhpUnitVersion() >= 10) {
$this->append('#[Test]', 1);
} else {
$this->append('/**', 1);
Expand Down

0 comments on commit b5af5f4

Please sign in to comment.