forked from eatvio/eatvio-infra
clear comments from tests
This commit is contained in:
@@ -2,15 +2,11 @@
|
||||
|
||||
namespace Tests\Feature\Plan;
|
||||
|
||||
use App\Livewire\Plan\Create;
|
||||
use App\Models\Plan;
|
||||
// use Livewire\WithFileUploads;
|
||||
use App\Models\User;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
// use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Livewire\Livewire;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ShowTest extends TestCase
|
||||
@@ -18,8 +14,6 @@ class ShowTest extends TestCase
|
||||
// use RefreshDatabase;
|
||||
use RefreshDatabase;
|
||||
|
||||
private $image;
|
||||
|
||||
private $plan;
|
||||
|
||||
protected User $user;
|
||||
@@ -28,9 +22,6 @@ class ShowTest extends TestCase
|
||||
{
|
||||
$this->refreshApplicationWithLocale('en');
|
||||
|
||||
Storage::fake('plans');
|
||||
$this->image = UploadedFile::fake()->image('plan.png');
|
||||
|
||||
$this->user = User::factory()->create(['is_consultant' => true]);
|
||||
$this->plan = Plan::inRandomOrder()->first();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user