public function test_case1()
{
$user = factory(User::class)->create([
'fname' => "Testing",
'lname' => 'bot',
'email' => "testing_bot@apimio.com",
'password' => bcrypt("testing_bot"),
]);
$this->assertTrue($user->is_subscribed());
}
this code is giving error
General error: 1364 Field 'fname' doesn't have a default value (SQL: insert into users
(updated_at
, created_at
) values (2022-01-31 08:44:43, 2022-01-31 08:44:43))
when i run test
NOTE:: This code is working fine on my teammate's pc but not on mine and i dont know why :(