1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:54:03 +00:00

Update MaintenanceModeTest.php

This commit is contained in:
j.stein 2022-08-01 23:30:47 +02:00
parent b97f409ee3
commit 53d355388c

View file

@ -27,8 +27,7 @@ test('tenant can be in maintenance mode', function () {
$tenant->putDownForMaintenance(); $tenant->putDownForMaintenance();
pest()->expectException(HttpException::class); pest()->get('http://acme.localhost/foo')->assertStatus(503);
pest()->get('http://acme.localhost/foo');
tenancy()->end(); tenancy()->end();
@ -58,8 +57,7 @@ test('tenant can be in maintenance mode from command', function() {
Artisan::call('tenancy:down'); Artisan::call('tenancy:down');
pest()->expectException(HttpException::class); pest()->get('http://acme.localhost/foo')->assertStatus(503);
pest()->get('http://acme.localhost/foo');
tenancy()->end(); tenancy()->end();