<?php
namespace ArdaGnsrn\ElevenLabs\Tests;
use ArdaGnsrn\ElevenLabs\ElevenLabsServiceProvider;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{
protected function setUp(): void
{
parent::setUp();
Factory::guessFactoryNamesUsing(
fn (string $modelName) => 'ArdaGnsrn\\ElevenLabs\\Database\\Factories\\'.class_basename($modelName).'Factory'
);
}
protected function getPackageProviders($app)
{
return [
ElevenLabsServiceProvider::class,
];
}
public function getEnvironmentSetUp($app)
{
config()->set('database.default', 'testing');
/*
$migration = include __DIR__.'/../database/migrations/create_elevenlabs-laravel_table.php.stub';
$migration->up();
*/
}
}
|