Ignore:
Timestamp:
10/23/21 04:03:46 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
b39afb5
Parents:
c6b84df
Message:

bug fixes, edited export, added fileSeeder for DB testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/factories/UserFactory.php

    rc6b84df r4b7e2d3  
    2626            'name' => $this->faker->firstName(),
    2727            'surname' => $this->faker->lastName(),
    28             'username' => $this->faker->userName(),
     28            'username' => $this->faker->unique()->userName(),
    2929            'password' => $this->faker->password(),
    30             'email' => $this->faker->email(),
     30            'email' => $this->faker->unique()->email(),
    3131            'phone_number' => $this->faker->phoneNumber(),
    3232            'role_id' => $this->faker->numberBetween(1, 2),
     
    3535            'is_forgot_password' => $this->faker->boolean,
    3636            'created_by' => "1",
    37             'created_at' => Carbon::now()
     37            'created_at' => now()
    3838        ];
    3939    }
Note: See TracChangeset for help on using the changeset viewer.