Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions tests/Controllers/RepositoryShowControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
namespace Binaryk\LaravelRestify\Tests\Controllers;

use Binaryk\LaravelRestify\Tests\Fixtures\Post;
use Binaryk\LaravelRestify\Tests\Fixtures\PostPolicy;
use Binaryk\LaravelRestify\Tests\IntegrationTest;
use Illuminate\Support\Facades\Gate;

/**
* @author Eduard Lupacescu <eduard.lupacescu@binarcode.com>
Expand All @@ -20,7 +18,7 @@ protected function setUp(): void

public function test_basic_show()
{
factory(Post::class)->create(['user_id' => 1,]);
factory(Post::class)->create(['user_id' => 1]);

$this->withoutExceptionHandling()->get('/restify-api/posts/1')
->assertStatus(200)
Expand Down
2 changes: 1 addition & 1 deletion tests/Controllers/RepositoryStoreControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function test_basic_validation_works()
'description' => [
'Description field is required',
],
]
],
],
]);
}
Expand Down