From 3fa4b498e9cea20be977f468d359adac037839d8 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 14 Apr 2025 15:14:44 +0800 Subject: [PATCH] New UI to show YD Order Tracking infomation - Testing --- tests/Feature/ExampleTest.php | 4 ++-- tests/{TestCase.php => TestCaseChild.php} | 2 +- .../Orders/ControllersLogic/ListOrderTrackingLogicTest.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename tests/{TestCase.php => TestCaseChild.php} (70%) diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index 6d9e8a75..fa24b57a 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -2,9 +2,9 @@ namespace Tests\Feature; -use Tests\TestCase; +use Tests\TestCaseChild; -class ExampleTest extends TestCase +class ExampleTest extends TestCaseChild { /** * A basic test example. diff --git a/tests/TestCase.php b/tests/TestCaseChild.php similarity index 70% rename from tests/TestCase.php rename to tests/TestCaseChild.php index 2932d4a6..209ec2ae 100644 --- a/tests/TestCase.php +++ b/tests/TestCaseChild.php @@ -4,7 +4,7 @@ namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; -abstract class TestCase extends BaseTestCase +abstract class TestCaseChild extends BaseTestCase { use CreatesApplication; } diff --git a/tests/Unit/Orders/ControllersLogic/ListOrderTrackingLogicTest.php b/tests/Unit/Orders/ControllersLogic/ListOrderTrackingLogicTest.php index f02bf70a..47a822cb 100644 --- a/tests/Unit/Orders/ControllersLogic/ListOrderTrackingLogicTest.php +++ b/tests/Unit/Orders/ControllersLogic/ListOrderTrackingLogicTest.php @@ -10,9 +10,9 @@ use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Artisan; use Mockery; -use Tests\TestCase; +use Tests\TestCaseChild; -class ListOrderTrackingLogicTest extends TestCase +class ListOrderTrackingLogicTest extends TestCaseChild { protected $listsOrderTrackingMock;