This commit is contained in:
shibafu 2020-05-24 19:50:51 +09:00
parent f3a5644a32
commit 1a3cead932
2 changed files with 9 additions and 0 deletions

View File

@ -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,
];
});

View File

@ -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();