Changeset 05e57e2 for database/factories


Ignore:
Timestamp:
10/25/21 13:59:57 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
1c25bcf
Parents:
796e7ac
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • database/factories/FolderFactory.php

    r796e7ac r05e57e2  
    2727    public function definition()
    2828    {
    29         //$inputArray = [5, 15, 25, 35, 45, 55, 65, 75];
    30         //$deptId = Arr::random($inputArray);
     29        $inputArray = [5, 15, 25, 35, 45, 55, 65, 75];
     30        $deptId = Arr::random($inputArray);
    3131
    32         $deptId = $this->faker->numberBetween(1, 10);
     32        //$deptId = $this->faker->numberBetween(1, 10);
    3333
    3434        $deptCode = Department::find($deptId)->code;
Note: See TracChangeset for help on using the changeset viewer.