1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:14:02 +00:00

Register the facade in TestCase

This commit is contained in:
Samuel Štancl 2019-02-27 22:22:09 +01:00
parent 337a622fcb
commit e1c4dc8934
2 changed files with 8 additions and 1 deletions

View file

@ -2,7 +2,7 @@
namespace Stancl\Tenancy\Tests;
use Stancl\Tenancy\TenancyFacade as Tenancy;
use Tenancy;
class FacadeTest extends TestCase
{

View file

@ -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.
*