fix test
This commit is contained in:
parent
f3a5644a32
commit
1a3cead932
@ -8,5 +8,6 @@ $factory->define(Ejaculation::class, function (Faker $faker) {
|
||||
return [
|
||||
'ejaculated_date' => $faker->date('Y-m-d H:i:s'),
|
||||
'note' => $faker->text,
|
||||
'source' => Ejaculation::SOURCE_WEB,
|
||||
];
|
||||
});
|
||||
|
@ -13,6 +13,14 @@ use Tests\TestCase;
|
||||
|
||||
class SettingTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->seed();
|
||||
}
|
||||
|
||||
public function testDestroyUser()
|
||||
{
|
||||
$user = factory(User::class)->create();
|
||||
|
Loading…
Reference in New Issue
Block a user