added registration bonus notification

This commit is contained in:
Čarodej
2022-03-12 09:34:26 +01:00
parent ab03b471f7
commit 2bba6dc051
30 changed files with 152 additions and 96 deletions

View File

@@ -1,6 +1,7 @@
<?php
namespace Tests\App\Users;
use App\Users\Notifications\RegistrationBonusAddedNotification;
use Storage;
use Notification;
use Tests\TestCase;
@@ -195,6 +196,8 @@ class SignFlowTest extends TestCase
'first_name' => 'John',
'last_name' => 'Doe',
]);
Notification::assertSentTo($user, RegistrationBonusAddedNotification::class);
}
/**