mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:34:03 +00:00
Update MaintenanceModeTest.php
This commit is contained in:
parent
b97f409ee3
commit
53d355388c
1 changed files with 2 additions and 4 deletions
|
|
@ -27,8 +27,7 @@ test('tenant can be in maintenance mode', function () {
|
|||
|
||||
$tenant->putDownForMaintenance();
|
||||
|
||||
pest()->expectException(HttpException::class);
|
||||
pest()->get('http://acme.localhost/foo');
|
||||
pest()->get('http://acme.localhost/foo')->assertStatus(503);
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
|
|
@ -58,8 +57,7 @@ test('tenant can be in maintenance mode from command', function() {
|
|||
|
||||
Artisan::call('tenancy:down');
|
||||
|
||||
pest()->expectException(HttpException::class);
|
||||
pest()->get('http://acme.localhost/foo');
|
||||
pest()->get('http://acme.localhost/foo')->assertStatus(503);
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue