From 7386f9242351673588eaefe6c0de02c7e467f62a Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 3 Sep 2024 01:22:21 +0300 Subject: [PATCH 1/3] chore: Fix Imports --- tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php | 6 +++--- .../framework/test/writers/WebServiceTestCaseWriterTest.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php b/tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php index d9d9ffce..ed691094 100644 --- a/tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php +++ b/tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php @@ -1,8 +1,8 @@ 'api-test', - '--manager' => \webfiori\framework\scheduler\webServices\TasksServicesManager::class, + '--manager' => TasksServicesManager::class, '--service' => 'c' ]); $runner->setInputs([ @@ -78,7 +78,7 @@ public function testCreateAPITestCase02() { 'webfiori', 'create', '--c' => 'api-test', - '--manager' => \webfiori\framework\scheduler\webServices\TasksServicesManager::class, + '--manager' => TasksServicesManager::class, '--service' => 'get-tasks', '--defaults' ]); diff --git a/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php b/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php index 0e5098a2..e6236524 100644 --- a/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php +++ b/tests/webfiori/framework/test/writers/WebServiceTestCaseWriterTest.php @@ -2,7 +2,7 @@ namespace webfiori\framework\test\writers; use PHPUnit\Framework\TestCase; -use webfiori\framework\scheduler\webServices\TasksLogoutService; +use webfiori\framework\scheduler\webServices\ForceTaskExecutionService; use webfiori\framework\scheduler\webServices\TasksServicesManager; use webfiori\framework\writers\APITestCaseWriter; /** @@ -14,7 +14,7 @@ class WebServiceTestCaseWriterTest extends TestCase { * @test */ public function test00() { - $w = new APITestCaseWriter(new TasksServicesManager(), \webfiori\framework\scheduler\webServices\ForceTaskExecutionService::class); + $w = new APITestCaseWriter(new TasksServicesManager(), ForceTaskExecutionService::class); $w->writeClass(); $this->assertTrue(true); } From 2f8d814fd477b3c8699ada67c2c6b47a04f29b10 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 3 Sep 2024 01:23:46 +0300 Subject: [PATCH 2/3] chore: Updated Framework Version Number --- webfiori/framework/App.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webfiori/framework/App.php b/webfiori/framework/App.php index 04baa26c..28e1aed9 100644 --- a/webfiori/framework/App.php +++ b/webfiori/framework/App.php @@ -544,7 +544,7 @@ private function initFrameworkVersionInfo() { * * @since 2.1 */ - define('WF_VERSION', '3.0.0-Beta.11'); + define('WF_VERSION', '3.0.0-Beta.12'); /** * A constant that tells the type of framework version. * @@ -560,7 +560,7 @@ private function initFrameworkVersionInfo() { * * @since 2.1 */ - define('WF_RELEASE_DATE', '2024-08-21'); + define('WF_RELEASE_DATE', '2024-09-03'); } /** From 790ffc85e3fb392f61f22b40c6547efaa611bdad Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Tue, 3 Sep 2024 01:27:21 +0300 Subject: [PATCH 3/3] Update APITestCaseWriter.php --- webfiori/framework/writers/APITestCaseWriter.php | 1 - 1 file changed, 1 deletion(-) diff --git a/webfiori/framework/writers/APITestCaseWriter.php b/webfiori/framework/writers/APITestCaseWriter.php index 2d0d5f16..b9eee6c9 100644 --- a/webfiori/framework/writers/APITestCaseWriter.php +++ b/webfiori/framework/writers/APITestCaseWriter.php @@ -2,7 +2,6 @@ namespace webfiori\framework\writers; -use webfiori\framework\writers\ClassWriter; use webfiori\http\AbstractWebService; use webfiori\http\APITestCase; use webfiori\http\RequestMethod;