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); } 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'); } /** 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;