Skip to content

Commit 930d12d

Browse files
committed
test: fixed test cases
1 parent 812bfbf commit 930d12d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

tests/Helpers/HelpersTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Tests\Helpers;
44

5-
class HelpersTest extends \PHPUnit_Framework_TestCase
5+
use PHPUnit\Framework\TestCase;
6+
7+
class HelpersTest extends TestCase
68
{
79
public function test_model_name_from_table_name()
810
{

tests/Utils/GeneratorFieldsInputUtilTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
namespace Tests;
44

55
use InfyOm\Generator\Utils\GeneratorFieldsInputUtil;
6+
use PHPUnit\Framework\TestCase;
67

7-
class GeneratorFieldsInputUtilTest extends \PHPUnit_Framework_TestCase
8+
class GeneratorFieldsInputUtilTest extends TestCase
89
{
910
public function testValidateFieldInput()
1011
{

tests/Utils/ResponseUtilTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Tests\Utils;
44

55
use InfyOm\Generator\Utils\ResponseUtil;
6-
use PHPUnit_Framework_TestCase;
6+
use PHPUnit\Framework\TestCase;
77

8-
class ResponseUtilTest extends PHPUnit_Framework_TestCase
8+
class ResponseUtilTest extends TestCase
99
{
1010
public function testMakeResponse()
1111
{

0 commit comments

Comments
 (0)