Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored and github-actions[bot] committed Jan 5, 2025
1 parent 67147c1 commit 13566e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
20 changes: 10 additions & 10 deletions tests/FormsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
16 changes: 8 additions & 8 deletions tests/ResourcesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

0 comments on commit 13566e8

Please sign in to comment.