Skip to content

Commit 65cb0fc

Browse files
committed
update phpunit
1 parent c5085ad commit 65cb0fc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"friendsofphp/php-cs-fixer": "^3.8",
2222
"mockery/mockery": "^1.5",
2323
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
24-
"phpunit/phpunit": "^8.4|^9.0|^10.0"
24+
"phpunit/phpunit": "^8.4|^9.0|^10.0|^11.0"
2525
},
2626
"autoload": {
2727
"psr-4": {

tests/SendGridChannelTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class SendGridChannelTest extends TestCase
1717
public function tearDown(): void
1818
{
1919
Mockery::close();
20+
21+
parent::tearDown();
2022
}
2123

2224
public function testEmailIsSentViaSendGrid()
@@ -69,12 +71,12 @@ public function toSendGrid($notifiable)
6971

7072
Event::assertDispatched(
7173
NotificationSent::class,
72-
fn ($event) => $event->channel === SendGridChannel::class
74+
fn($event) => $event->channel === SendGridChannel::class
7375
);
7476

7577
Event::assertDispatched(
7678
NotificationSent::class,
77-
fn ($event) => $event->response instanceof Response
79+
fn($event) => $event->response instanceof Response
7880
);
7981
}
8082

0 commit comments

Comments
 (0)