1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:14:03 +00:00

Move MailManager extension to MailTenancyBootstrapper

This commit is contained in:
lukinovec 2022-11-24 13:22:26 +01:00
parent d5e0e34087
commit d83cd1ddb4
3 changed files with 13 additions and 8 deletions

View file

@ -19,6 +19,8 @@ beforeEach(function() {
});
test('tenancy swaps the MailManager singleton for an instance of TenancyMailManager', function() {
tenancy()->initialize(Tenant::create());
expect(app(MailManager::class))->toBeInstanceOf(TenancyMailManager::class);
});