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

No files matched your search

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