From 914a10ea732b9cda174a916507e69fe0f8a520f1 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Wed, 10 Apr 2024 16:35:02 +0200 Subject: [PATCH] Move test into view subnamespace --- .../tests/Unit/BreadcrumbsComponentTest.php | 12 ++++++------ .../{ => Views}/BreadcrumbsComponentViewTest.php | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) rename packages/framework/tests/Unit/{ => Views}/BreadcrumbsComponentViewTest.php (99%) diff --git a/packages/framework/tests/Unit/BreadcrumbsComponentTest.php b/packages/framework/tests/Unit/BreadcrumbsComponentTest.php index c161d55b9f4..154fddbfb00 100644 --- a/packages/framework/tests/Unit/BreadcrumbsComponentTest.php +++ b/packages/framework/tests/Unit/BreadcrumbsComponentTest.php @@ -4,20 +4,20 @@ namespace Hyde\Framework\Testing\Unit; -use Hyde\Framework\Views\Components\BreadcrumbsComponent; +use Mockery; +use Illuminate\View\Factory; use Hyde\Pages\MarkdownPage; -use Hyde\Support\Facades\Render; use Hyde\Support\Models\Route; use Hyde\Testing\UnitTestCase; -use Illuminate\Support\Facades\Facade; +use Hyde\Support\Facades\Render; use Illuminate\Support\Facades\View; -use Illuminate\View\Factory; -use Mockery; +use Illuminate\Support\Facades\Facade; +use Hyde\Framework\Views\Components\BreadcrumbsComponent; /** * @covers \Hyde\Framework\Views\Components\BreadcrumbsComponent * - * @see \Hyde\Framework\Testing\Unit\BreadcrumbsComponentViewTest + * @see \Hyde\Framework\Testing\Unit\Views\BreadcrumbsComponentViewTest */ class BreadcrumbsComponentTest extends UnitTestCase { diff --git a/packages/framework/tests/Unit/BreadcrumbsComponentViewTest.php b/packages/framework/tests/Unit/Views/BreadcrumbsComponentViewTest.php similarity index 99% rename from packages/framework/tests/Unit/BreadcrumbsComponentViewTest.php rename to packages/framework/tests/Unit/Views/BreadcrumbsComponentViewTest.php index 2b77225bf59..a434da46797 100644 --- a/packages/framework/tests/Unit/BreadcrumbsComponentViewTest.php +++ b/packages/framework/tests/Unit/Views/BreadcrumbsComponentViewTest.php @@ -4,13 +4,13 @@ declare(strict_types=1); -namespace Hyde\Framework\Testing\Unit; +namespace Hyde\Framework\Testing\Unit\Views; -use Hyde\Framework\Views\Components\BreadcrumbsComponent; +use Hyde\Testing\TestCase; use Hyde\Pages\MarkdownPage; use Hyde\Support\Facades\Render; -use Hyde\Testing\TestCase; use Illuminate\Support\Facades\Blade; +use Hyde\Framework\Views\Components\BreadcrumbsComponent; /** * @covers \Hyde\Framework\Views\Components\BreadcrumbsComponent