create profile api's with tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
|
||||
@@ -23,6 +24,8 @@ class UserFactory extends Factory
|
||||
'confirmed' => 1,
|
||||
'province_fa' => $this->faker->name,
|
||||
'city_fa' => $this->faker->name,
|
||||
'password' => Hash::make('password1234'),
|
||||
'avatar' => $this->faker->image
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user