We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d4736 commit dda653aCopy full SHA for dda653a
tests/Laravel/ModelAssertionsTest.php
@@ -2,11 +2,9 @@
2
3
namespace Astrotomic\PhpunitAssertions\Tests\Laravel;
4
5
-use Astrotomic\PhpunitAssertions\Laravel\CollectionAssertions;
6
use Astrotomic\PhpunitAssertions\Laravel\ModelAssertions;
7
use Illuminate\Database\Eloquent\Model;
8
use Illuminate\Database\Schema\Blueprint;
9
-use Illuminate\Support\Collection;
10
use Illuminate\Support\Facades\Schema;
11
12
final class ModelAssertionsTest extends TestCase
@@ -53,6 +51,6 @@ public function it_can_validate_same(): void
53
51
$model->title = self::randomString();
54
52
$model->save();
55
56
- ModelAssertions::assertSame($model,$model->query()->first());
+ ModelAssertions::assertSame($model, $model->query()->first());
57
}
58
0 commit comments