mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 01:34:03 +00:00
wip
This commit is contained in:
parent
a00113b3d1
commit
c75c9a7799
3 changed files with 48 additions and 0 deletions
28
tests/Etc/AppServiceProvider.php
Normal file
28
tests/Etc/AppServiceProvider.php
Normal 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()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
@ -14,4 +14,23 @@ class TelescopeTest extends TestCase
|
|||
Artisan::call('telescope:install');
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
protected function getPackageProviders($app)
|
||||
{
|
||||
return [
|
||||
\Stancl\Tenancy\Tests\Etc\AppServiceProvider::class,
|
||||
\Stancl\Tenancy\TenancyServiceProvider::class,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue