Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cintra authored and github-actions[bot] committed Dec 13, 2023
1 parent 2e7bbef commit b7f1973
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Feature/Blog/AuthorTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Modules\Blog\Models\Author;
use Inertia\Testing\AssertableInertia as Assert;
use Modules\Blog\Models\Author;
use Modules\User\Models\User;

beforeEach(function () {
Expand Down Expand Up @@ -61,7 +61,7 @@
});

test('author edit page can be rendered', function () {
$response = $this->loggedRequest->get('/blog-author/' . $this->author->id . '/edit');
$response = $this->loggedRequest->get('/blog-author/'.$this->author->id.'/edit');

$response->assertStatus(200);

Expand All @@ -84,7 +84,7 @@
});

test('author can be updated', function () {
$response = $this->loggedRequest->put('/blog-author/' . $this->author->id, [
$response = $this->loggedRequest->put('/blog-author/'.$this->author->id, [
'name' => 'New Name',
'email' => 'new@email.com',
]);
Expand All @@ -110,7 +110,7 @@
});

test('author can be deleted', function () {
$response = $this->loggedRequest->delete('/blog-author/' . $this->user->id);
$response = $this->loggedRequest->delete('/blog-author/'.$this->user->id);

$response->assertRedirect('/blog-author');

Expand Down

0 comments on commit b7f1973

Please sign in to comment.