1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:34:02 +00:00
This commit is contained in:
lukinovec 2023-01-30 15:07:24 +01:00
parent 8eeefb74a0
commit 2d2b3faaa8

View file

@ -406,6 +406,8 @@ test('BroadcastTenancyBootstrapper makes the app use broadcasters with the corre
$registerTestingBroadcaster(); $registerTestingBroadcaster();
expect(invade(app(BroadcastManager::class)->driver())->message)->toBe($defaultMessage); expect(invade(app(BroadcastManager::class)->driver())->message)->toBe($defaultMessage);
});
test('MailTenancyBootstrapper maps tenant mail credentials to config as specified in the $credentialsMap property and makes the mailer use tenant credentials', function() { test('MailTenancyBootstrapper maps tenant mail credentials to config as specified in the $credentialsMap property and makes the mailer use tenant credentials', function() {
MailTenancyBootstrapper::$credentialsMap = [ MailTenancyBootstrapper::$credentialsMap = [
'mail.mailers.smtp.username' => 'smtp_username', 'mail.mailers.smtp.username' => 'smtp_username',