mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:44: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
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Tests;
|
namespace Stancl\Tenancy\Tests;
|
||||||
|
|
||||||
use Stancl\Tenancy\TenancyFacade as Tenancy;
|
use Tenancy;
|
||||||
|
|
||||||
class FacadeTest extends TestCase
|
class FacadeTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,13 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
return [\Stancl\Tenancy\TenancyServiceProvider::class];
|
return [\Stancl\Tenancy\TenancyServiceProvider::class];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function getPackageAliases($app)
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'Tenancy' => \Stancl\Tenancy\TenancyFacade::class
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve application HTTP Kernel implementation.
|
* Resolve application HTTP Kernel implementation.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue