File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 21
21
"friendsofphp/php-cs-fixer" : " ^3.8" ,
22
22
"mockery/mockery" : " ^1.5" ,
23
23
"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 "
25
25
},
26
26
"autoload" : {
27
27
"psr-4" : {
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ class SendGridChannelTest extends TestCase
17
17
public function tearDown (): void
18
18
{
19
19
Mockery::close ();
20
+
21
+ parent ::tearDown ();
20
22
}
21
23
22
24
public function testEmailIsSentViaSendGrid ()
@@ -69,12 +71,12 @@ public function toSendGrid($notifiable)
69
71
70
72
Event::assertDispatched (
71
73
NotificationSent::class,
72
- fn ($ event ) => $ event ->channel === SendGridChannel::class
74
+ fn ($ event ) => $ event ->channel === SendGridChannel::class
73
75
);
74
76
75
77
Event::assertDispatched (
76
78
NotificationSent::class,
77
- fn ($ event ) => $ event ->response instanceof Response
79
+ fn ($ event ) => $ event ->response instanceof Response
78
80
);
79
81
}
80
82
You can’t perform that action at this time.
0 commit comments