1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:54:03 +00:00

fixed TestSeeder class not resolved

This commit is contained in:
Abrar Ahmad 2022-06-29 18:38:15 +05:00
parent 680a2b6be1
commit 0692cdc36a
2 changed files with 24 additions and 17 deletions

View file

@ -14,6 +14,7 @@ use Stancl\Tenancy\Jobs\SeedDatabase;
use Stancl\Tenancy\TenantDatabaseManagers\MySQLDatabaseManager;
use Stancl\Tenancy\Tests\Etc\Tenant;
use Illuminate\Foundation\Auth\User as Authenticable;
use Stancl\Tenancy\Tests\Etc\TestSeeder;
uses(Stancl\Tenancy\Tests\TestCase::class);
@ -93,23 +94,6 @@ class User extends Authenticable
protected $guarded = [];
}
class TestSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('users')->insert([
'name' => 'Seeded User',
'email' => 'seeded@user',
'password' => bcrypt('password'),
]);
}
}
class CreateSuperuser
{
protected $tenant;