Skip to content

Commit

Permalink
turn on strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cviebrock committed Dec 7, 2023
1 parent dd417f5 commit 6c5024c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/RelationTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Cviebrock\EloquentSluggable\Tests\Models\Author;
use Cviebrock\EloquentSluggable\Tests\Models\PostWithEagerRelation;
use Illuminate\Database\Eloquent\Model;

/**
* Class RelationTests
Expand All @@ -16,6 +17,8 @@ class RelationTests extends TestCase
*/
public function testEagerLoading(): void
{
Model::shouldBeStrict(true);

$author = Author::create([
'name' => 'Arthur Conan Doyle'
]);
Expand Down

0 comments on commit 6c5024c

Please sign in to comment.