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

Scaffold tests

This commit is contained in:
lukinovec 2022-11-01 18:57:26 +01:00
parent 6b5cb2793f
commit 7b656c0d99
2 changed files with 19 additions and 0 deletions

View file

@ -326,6 +326,14 @@ test('local storage public urls are generated correctly', function() {
expect(File::isDirectory($tenantStoragePath))->toBeFalse();
});
test('MailTenancyBootstrapper maps tenant properties to config as specified in the $credentialsMap property', function() {
});
test('MailTenancyBootstrapper reverts the config to default when tenancy ends', function() {
});
function getDiskPrefix(string $disk): string
{
/** @var FilesystemAdapter $disk */

11
tests/MailTest.php Normal file
View file

@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
test('tenancy swaps MailManager instance for an instance of TenancyMailManager', function() {
});
test('TenancyMailManager makes the mailers in the $tenantMailers property use the correct credentials by re-resolving them', function() {
});