Skip to content

Commit

Permalink
Merge pull request #233 from WebFiori/dev
Browse files Browse the repository at this point in the history
chore: Updated Framework Version Number
  • Loading branch information
usernane authored Sep 2, 2024
2 parents 5d9d825 + 790ffc8 commit b508ea9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
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

0 comments on commit b508ea9

Please sign in to comment.