1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 03:34:04 +00:00

added // todo@tests

This commit is contained in:
Abrar Ahmad 2022-07-01 12:21:41 +05:00
parent c515bbfaa1
commit 8f1ebde3ab
6 changed files with 6 additions and 2 deletions

View file

@ -179,6 +179,7 @@ test('run command with array of tenants works', function () {
->expectsOutput('Tenant: ' . $tenantId2);
});
// todo@tests
function runCommandWorks(): void
{
$id = Tenant::create()->getTenantKey();
@ -191,6 +192,7 @@ function runCommandWorks(): void
->expectsOutput('xyz');
}
// todo@tests
function databaseConnectionSwitchedToDefault()
{
$originalDBName = DB::connection()->getDatabaseName();