mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 23:24:03 +00:00
improve code
This commit is contained in:
parent
0a2bbc5a16
commit
f478038644
5 changed files with 15 additions and 49 deletions
|
|
@ -55,13 +55,13 @@ test('tenant can be in maintenance mode from command', function() {
|
|||
|
||||
tenancy()->end(); // Flush stored tenant instance
|
||||
|
||||
Artisan::call('tenancy:down');
|
||||
Artisan::call('tenants:down');
|
||||
|
||||
pest()->get('http://acme.localhost/foo')->assertStatus(503);
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
Artisan::call('tenancy:up');
|
||||
Artisan::call('tenants:up');
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue