mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 23:24:03 +00:00
clean
This commit is contained in:
parent
c90ae845e9
commit
b97f409ee3
4 changed files with 33 additions and 15 deletions
|
|
@ -28,8 +28,7 @@ test('tenant can be in maintenance mode', function () {
|
|||
$tenant->putDownForMaintenance();
|
||||
|
||||
pest()->expectException(HttpException::class);
|
||||
pest()->withoutExceptionHandling()
|
||||
->get('http://acme.localhost/foo');
|
||||
pest()->get('http://acme.localhost/foo');
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
|
|
@ -60,8 +59,7 @@ test('tenant can be in maintenance mode from command', function() {
|
|||
Artisan::call('tenancy:down');
|
||||
|
||||
pest()->expectException(HttpException::class);
|
||||
pest()->withoutExceptionHandling()
|
||||
->get('http://acme.localhost/foo');
|
||||
pest()->get('http://acme.localhost/foo');
|
||||
|
||||
tenancy()->end();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue