write test for this project for example login ana call
This commit is contained in:
@@ -2,9 +2,17 @@
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Database\Seeders\EventSeeder;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
//
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
app()->setLocale('fa');
|
||||
config(['logging.default' => 'null']);
|
||||
$this->seed(EventSeeder::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user