Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Updated Framework Version Number #233

Merged
merged 3 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/webfiori/framework/test/cli/CreateAPITestCaseTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace webfiori\framework\test\cli;

use webfiori\cli\CLICommand;
use webfiori\framework\App;
use webfiori\framework\scheduler\webServices\TasksServicesManager;
/**
* @author Ibrahim
*/
Expand Down Expand Up @@ -40,7 +40,7 @@ public function testCreateAPITestCase01() {
'webfiori',
'create',
'--c' => 'api-test',
'--manager' => \webfiori\framework\scheduler\webServices\TasksServicesManager::class,
'--manager' => TasksServicesManager::class,
'--service' => 'c'
]);
$runner->setInputs([
Expand Down Expand Up @@ -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'
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand All @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions webfiori/framework/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -560,7 +560,7 @@ private function initFrameworkVersionInfo() {
*
* @since 2.1
*/
define('WF_RELEASE_DATE', '2024-08-21');
define('WF_RELEASE_DATE', '2024-09-03');
}

/**
Expand Down
1 change: 0 additions & 1 deletion webfiori/framework/writers/APITestCaseWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading