mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed importer email test
This commit is contained in:
parent
afac0bc441
commit
1784278a59
|
@ -710,8 +710,13 @@ EOT;
|
|||
'name' => 'Morar-Ward'
|
||||
]);
|
||||
|
||||
Notification::assertSentTo(User::find(2), \App\Notifications\WelcomeNotification::class);
|
||||
Notification::assertNotSentTo(User::find(3), \App\Notifications\WelcomeNotification::class);
|
||||
// These are commented out because we've temporarily disabled emailing new users on import,
|
||||
// since some folks shouldn't be emailed.
|
||||
// Uncomment these once the ability to decide that per import or per user via CSV has been
|
||||
// implemented in the importer.
|
||||
// Notification::assertSentTo(User::find(2), \App\Notifications\WelcomeNotification::class);
|
||||
// Notification::assertNotSentTo(User::find(3), \App\Notifications\WelcomeNotification::class);
|
||||
Notification::assertNotSentTo(User::find(2), \App\Notifications\WelcomeNotification::class);
|
||||
}
|
||||
private function import($importer, $mappings = null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue