Skip to content

Commit b978848

Browse files
committed
Merge branch '3.x' of github.com:BinarCode/laravel-mailator into 3.x
2 parents 7c05e6f + 5dbfbba commit b978848

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

tests/Feature/SerializationTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Binarcode\LaravelMailator\Tests\Fixtures\SerializedConditionCondition;
99
use Binarcode\LaravelMailator\Tests\Fixtures\User;
1010
use Binarcode\LaravelMailator\Tests\TestCase;
11-
use Illuminate\Database\Eloquent\Model;
1211
use Illuminate\Support\Facades\Mail;
1312

1413
class SerializationTest extends TestCase
@@ -20,8 +19,9 @@ public function test_constraints_gets_latest_database_values(): void
2019

2120
$user = User::factory()->has(
2221
Post::factory()->state([
23-
'title' => 'Test title'
24-
]), 'posts'
22+
'title' => 'Test title',
23+
]),
24+
'posts'
2525
)->create([
2626
'email' => '[email protected]',
2727
]);
@@ -50,5 +50,4 @@ public function test_constraints_gets_latest_database_values(): void
5050

5151
Mail::assertSent(InvoiceReminderMailable::class, 1);
5252
}
53-
5453
}

tests/database/migrations/2017_10_10_000000_create_posts_table.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*

0 commit comments

Comments
 (0)