1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 10:34:04 +00:00
This commit is contained in:
Samuel Štancl 2019-08-17 22:31:49 +02:00
parent a00113b3d1
commit c75c9a7799
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<?php
namespace Stancl\Tenancy\Tests\Etc;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}

View file

@ -14,4 +14,23 @@ class TelescopeTest extends TestCase
Artisan::call('telescope:install'); Artisan::call('telescope:install');
Artisan::call('migrate'); Artisan::call('migrate');
} }
/** @test */
public function tags_are_added_on_tenant_routes()
{
$this->markTestIncomplete();
}
/** @test */
public function tags_are_not_added_on_non_tenant_routes()
{
// AppSP ones should be still added
$this->markTestIncomplete();
}
/** @test */
public function tags_are_merged_with_users_tags()
{
$this->markTestIncomplete();
}
} }

View file

@ -123,6 +123,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
protected function getPackageProviders($app) protected function getPackageProviders($app)
{ {
return [ return [
\Stancl\Tenancy\Tests\Etc\AppServiceProvider::class,
\Stancl\Tenancy\TenancyServiceProvider::class, \Stancl\Tenancy\TenancyServiceProvider::class,
]; ];
} }