1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 19:54:04 +00:00
This commit is contained in:
j.stein 2022-10-09 23:33:08 -04:00
parent 24f04c1328
commit a8f416dc1a
5 changed files with 5 additions and 24 deletions

View file

@ -168,7 +168,7 @@ test('install command works', function () {
}
pest()->artisan('tenancy:install')
->expectsConfirmation('Would you like to show your support by starring the project on github ?', 'no')
->expectsConfirmation('Would you like to show your support by starring the project on Github ?', 'no')
->assertExitCode(0);
expect(base_path('routes/tenant.php'))->toBeFile();
expect(base_path('config/tenancy.php'))->toBeFile();
@ -223,8 +223,7 @@ test('link command works', function() {
pest()->artisan('tenants:link', [
'--remove' => true,
])
->assertExitCode(0);
])->assertExitCode(0);
$this->assertDirectoryDoesNotExist(public_path("public-$tenantId1"));
$this->assertDirectoryDoesNotExist(public_path("public-$tenantId2"));