diff --git a/tests/FormsTest.php b/tests/FormsTest.php index 495eed3b..43657c07 100644 --- a/tests/FormsTest.php +++ b/tests/FormsTest.php @@ -16,12 +16,12 @@ use function Pest\Livewire\livewire; it('can render Form List', function () { - get(FormResource::getUrl())->assertSuccessful(); -}); +get(FormResource::getUrl())->assertSuccessful(); + }); it('can render list Forms', function () { - get('/bolt')->assertSuccessful(); -}); +get('/bolt')->assertSuccessful(); + }); it('can render show Form', function () { $form = Form::factory()->create(); @@ -109,8 +109,8 @@ }); it('can render create form page', function () { - get(FormResource::getUrl('create'))->assertSuccessful(); -}); +get(FormResource::getUrl('create'))->assertSuccessful(); + }); it('can create', function () { $newData = Form::factory()->make(); @@ -199,10 +199,10 @@ })->skip(); it('can not edit', function () { - get(CategoryResource::getUrl('edit', [ - 'record' => Category::factory()->create(), - ]))->assertSuccessful(); -}); +get(CategoryResource::getUrl('edit', [ + 'record' => Category::factory()->create(), +]))->assertSuccessful(); + }); it('can retrieve data', function () { $post = Form::factory()->create(); diff --git a/tests/ResourcesTest.php b/tests/ResourcesTest.php index a52f92c6..9cc7c92c 100644 --- a/tests/ResourcesTest.php +++ b/tests/ResourcesTest.php @@ -11,18 +11,18 @@ }); it('can render category list', function () { - get(CategoryResource::getUrl('index'))->assertSuccessful(); +get(CategoryResource::getUrl('index'))->assertSuccessful(); get(CategoryResource::getUrl()) ->assertSuccessful(); -}); + }); it('can render collection list', function () { - get(CollectionResource::getUrl()) - ->assertSuccessful(); -}); +get(CollectionResource::getUrl()) +->assertSuccessful(); + }); it('can render form list', function () { - get(FormResource::getUrl()) - ->assertSuccessful(); -}); +get(FormResource::getUrl()) +->assertSuccessful(); + });