1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 08:44:02 +00:00
tenancy/tests/TestCase.php
2019-02-01 22:47:10 +01:00

34 lines
709 B
PHP

<?php
namespace Stancl\Tenancy\Tests;
class TestCase extends \Orchestra\Testbench\TestCase
{
/**
* Setup the test environment
*
* @return void
*/
protected function setUp()
{
parent::setUp();
//
}
protected function getPackageProviders($app)
{
return [\Stancl\Tenancy\TenancyServiceProvider::class];
}
/**
* Resolve application HTTP Kernel implementation.
*
* @param \Illuminate\Foundation\Application $app
* @return void
*/
protected function resolveApplicationHttpKernel($app)
{
$app->singleton('Illuminate\Contracts\Http\Kernel', \Stancl\Tenancy\Testing\HttpKernel::class);
}
}