Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Adapt tests to run on laravel 6
  • Loading branch information
christophengelmayer committed Dec 3, 2019
commit 14b67cbcfbcf91c871dd733fee328a690fe0d202
2 changes: 1 addition & 1 deletion config/laravel_api.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

'policy' => app_path('Policies/'),

'auth_test' => base_path('tests/Authentication/'),
'auth_test' => base_path('tests/Feature/Authentication/'),

'templates' => 'vendor/swisnl/json-api-server/resources/templates/',

Expand Down
6 changes: 3 additions & 3 deletions sample/Tests/SampleAuthenticationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

use App\Sample;
use App\SamplePermissions;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class SampleAuthenticationTest extends TestCase
{
use DatabaseTransactions;
use RefreshDatabase;

protected $user;
protected $baseUrl;

public function setUp()
public function setUp(): void
{
parent::setUp();
$this->user = factory(User::class)->create();
Expand Down