Skip to content

Commit dd232d8

Browse files
committed
wip
1 parent 75073f3 commit dd232d8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
needs: access_check
6363
strategy:
6464
matrix:
65-
db: [ 'mysql', 'sqlite' ]
65+
db: [ 'mysql', 'sqlite', 'pgsql' ]
6666
payload:
6767
- { laravel: '11.*', php: '8.3', 'testbench': '9.*', collision: '8.*' }
6868
- { laravel: '11.*', php: '8.2', 'testbench': '9.*', collision: '8.*' }

tests/ComposeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function models_can_be_empty(): void
4242
]);
4343

4444
$email = Email::compose()
45-
->model($user)
45+
->user($user)
4646
->envelope(fn (Envelope $envelope) => $envelope->subject('Hey'))
4747
->content(fn (Content $content) => $content->view('welcome'))
4848
->send();

tests/DatabaseInteractionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public function variables_should_be_saved_correctly()
119119
{
120120
$email = $this->sendEmail(['variables' => ['name' => 'John Doe']]);
121121

122-
$this->assertEquals(json_encode(['name' => 'John Doe'], 1), DB::table('emails')->find(1)->variables);
123122
$this->assertEquals(['name' => 'John Doe'], $email->variables);
124123
}
125124

0 commit comments

Comments
 (0)