mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
2.x - databases
This commit is contained in:
@ -78,7 +78,7 @@ public function test_send(): void
|
||||
|
||||
Http::fake();
|
||||
|
||||
$provider->send($channel, new TestNotification());
|
||||
$provider->send($channel, new TestNotification);
|
||||
|
||||
Http::assertSent(function (Request $request) {
|
||||
return $request->body() === '{"content":"Hello"}';
|
||||
|
@ -76,7 +76,7 @@ public function test_send(): void
|
||||
|
||||
Mail::fake();
|
||||
|
||||
$provider->send($channel, new TestNotification());
|
||||
$provider->send($channel, new TestNotification);
|
||||
|
||||
Mail::assertSent(NotificationMail::class);
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ public function test_send(): void
|
||||
|
||||
Http::fake();
|
||||
|
||||
$provider->send($channel, new TestNotification());
|
||||
$provider->send($channel, new TestNotification);
|
||||
|
||||
Http::assertSent(function (Request $request) {
|
||||
return $request->body() === '{"text":"Hello"}';
|
||||
|
@ -92,7 +92,7 @@ public function test_send(): void
|
||||
|
||||
Http::fake();
|
||||
|
||||
$provider->send($channel, new TestNotification());
|
||||
$provider->send($channel, new TestNotification);
|
||||
|
||||
Http::assertSent(function (Request $request) {
|
||||
if ($request->url() === 'https://api.telegram.org/botxxxxx/sendMessage') {
|
||||
|
Reference in New Issue
Block a user