Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/3.x' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Sep 23, 2024
2 parents a1c3fab + 823617c commit 155b0cc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion tests/Feature/SDUITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

use MoonShine\Laravel\Http\Controllers\PageController;
use MoonShine\Laravel\Pages\Dashboard;
use MoonShine\Tests\TestCase;
use PHPUnit\Framework\Attributes\CoversMethod;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\Test;
use PHPUnit\Framework\Attributes\TestDox;
use MoonShine\Tests\TestCase;

#[CoversMethod(PageController::class, 'structureResponse')]
#[Group('sdui')]
Expand Down
4 changes: 0 additions & 4 deletions tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use MoonShine\Laravel\Models\MoonshineUser;
use MoonShine\Tests\Fixtures\Factories\CommentFactory;
use MoonShine\Tests\Fixtures\Factories\ItemFactory;
Expand All @@ -13,12 +12,9 @@
use MoonShine\UI\Collections\Fields;
use MoonShine\UI\Fields\Field;
use MoonShine\UI\Fields\Text;
use Pest\Expectation;

use function Pest\Laravel\actingAs;

use Symfony\Component\HttpFoundation\Request as SymfonyRequest;

uses(TestCase::class)
->in(__DIR__);

Expand Down
4 changes: 0 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
namespace MoonShine\Tests;

use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Contracts\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Testing\Concerns\InteractsWithViews;
use Illuminate\Foundation\Testing\RefreshDatabase;
use MoonShine\Contracts\Core\DependencyInjection\CoreContract;
Expand All @@ -16,7 +13,6 @@
use MoonShine\Laravel\Models\MoonshineUserRole;
use MoonShine\Laravel\MoonShineRequest;
use MoonShine\Laravel\Providers\MoonShineServiceProvider;
use MoonShine\Laravel\Resources\ModelResource;
use MoonShine\Laravel\Resources\MoonShineUserResource;
use MoonShine\Laravel\Resources\MoonShineUserRoleResource;
use MoonShine\Tests\Fixtures\Resources\TestCategoryResource;
Expand Down

0 comments on commit 155b0cc

Please sign in to comment.