From b5af5f49b1aa202b32923e7a8b919d8301387b15 Mon Sep 17 00:00:00 2001 From: Ibrahim Date: Tue, 15 Oct 2024 17:30:17 +0300 Subject: [PATCH] Update APITestCaseWriter.php --- webfiori/framework/writers/APITestCaseWriter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webfiori/framework/writers/APITestCaseWriter.php b/webfiori/framework/writers/APITestCaseWriter.php index c6bbd2c6..c2f4c2e9 100644 --- a/webfiori/framework/writers/APITestCaseWriter.php +++ b/webfiori/framework/writers/APITestCaseWriter.php @@ -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);