mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:24:04 +00:00
Register the facade in TestCase
This commit is contained in:
parent
337a622fcb
commit
e1c4dc8934
2 changed files with 8 additions and 1 deletions
|
|
@ -89,6 +89,13 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
return [\Stancl\Tenancy\TenancyServiceProvider::class];
|
||||
}
|
||||
|
||||
protected function getPackageAliases($app)
|
||||
{
|
||||
return [
|
||||
'Tenancy' => \Stancl\Tenancy\TenancyFacade::class
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve application HTTP Kernel implementation.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue