diff --git a/src/Middleware/InitializeTenancyByRequestData.php b/src/Middleware/InitializeTenancyByRequestData.php index a3b1bd4e..7753d034 100644 --- a/src/Middleware/InitializeTenancyByRequestData.php +++ b/src/Middleware/InitializeTenancyByRequestData.php @@ -7,7 +7,6 @@ namespace Stancl\Tenancy\Middleware; use Closure; use Illuminate\Http\Request; use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException; -use Stancl\Tenancy\TenantManager; class InitializeTenancyByRequestData { diff --git a/tests/RequestDataIdentificationTest.php b/tests/RequestDataIdentificationTest.php index 0fbacf09..fcbd0997 100644 --- a/tests/RequestDataIdentificationTest.php +++ b/tests/RequestDataIdentificationTest.php @@ -1,5 +1,7 @@ assertSee($tenant->id); } - + /** @test */ public function query_parameter_identification_works() {