Fixed importer email test
This commit is contained in:
parent
afac0bc441
commit
1784278a59
1 changed files with 7 additions and 2 deletions
|
@ -710,8 +710,13 @@ EOT;
|
||||||
'name' => 'Morar-Ward'
|
'name' => 'Morar-Ward'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Notification::assertSentTo(User::find(2), \App\Notifications\WelcomeNotification::class);
|
// These are commented out because we've temporarily disabled emailing new users on import,
|
||||||
Notification::assertNotSentTo(User::find(3), \App\Notifications\WelcomeNotification::class);
|
// 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)
|
private function import($importer, $mappings = null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue