Changeset 94f05dc for database/factories


Ignore:
Timestamp:
10/24/21 23:23:54 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
df6e9ec
Parents:
fa80fbe
Message:

bug fixes

Location:
database/factories
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • database/factories/FolderFactory.php

    rfa80fbe r94f05dc  
    2727    public function definition()
    2828    {
    29         $deptId = 15;
    3029
    31         $deptCode = Department::find($deptId)->code;
     30        $deptCode = Department::find(1)->code;
    3231
    3332        $name = $this->faker->unique()->firstName();
     
    4241            'location' => $location,
    4342            'user_id' => 1,
    44             'department_id' => $deptId,
     43            'department_id' => 1,
    4544            'is_important' => $this->faker->boolean,
    4645            'created_at' => now()
Note: See TracChangeset for help on using the changeset viewer.