1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 05:04:03 +00:00
This commit is contained in:
j.stein 2022-08-01 23:17:16 +02:00
parent c90ae845e9
commit b97f409ee3
4 changed files with 33 additions and 15 deletions

View file

@ -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();