Skip to content

Commit a4bd3e3

Browse files
committed
test: hopefully fix tests for windows
1 parent 137c51b commit a4bd3e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Integration/Mailer/SentEmailTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Tempest\Mail\Priority;
1313
use Tempest\Mail\Testing\SentTestingEmail;
1414
use Tempest\Mail\Testing\TestingAttachment;
15-
use Tempest\Support\Filesystem;
1615
use Tests\Tempest\Integration\FrameworkIntegrationTestCase;
1716
use Tests\Tempest\Integration\Mailer\Fixtures\SendWelcomeEmail;
1817

@@ -122,7 +121,7 @@ public function test_assert_sent_to(): void
122121
public function test_rendered_html(): void
123122
{
124123
$sent = $this->sendTestEmail(content: new Content(
125-
html: view('./Fixtures/welcome.view.php', fullName: 'Jon Doe'),
124+
html: view(__DIR__ . '/Fixtures/welcome.view.php', fullName: 'Jon Doe'),
126125
));
127126

128127
$sent->assertSeeInHtml('Welcome Jon Doe');

0 commit comments

Comments
 (0)