Files
backend/tests/TestCase.php

19 lines
364 B
PHP

<?php
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);
}
}