mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Added notes to factories
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
63cb4e70bc
commit
ff95049f7c
|
@ -30,6 +30,7 @@ class CategoryFactory extends Factory
|
||||||
'require_acceptance' => false,
|
'require_acceptance' => false,
|
||||||
'use_default_eula' => $this->faker->boolean(),
|
'use_default_eula' => $this->faker->boolean(),
|
||||||
'created_by' => User::factory()->superuser(),
|
'created_by' => User::factory()->superuser(),
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ class CompanyFactory extends Factory
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->unique()->company(),
|
'name' => $this->faker->unique()->company(),
|
||||||
'created_by' => 1,
|
'created_by' => 1,
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ class DepartmentFactory extends Factory
|
||||||
'name' => $this->faker->unique()->word() . ' Department',
|
'name' => $this->faker->unique()->word() . ' Department',
|
||||||
'created_by' => User::factory()->superuser(),
|
'created_by' => User::factory()->superuser(),
|
||||||
'location_id' => Location::factory(),
|
'location_id' => Location::factory(),
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ class GroupFactory extends Factory
|
||||||
return [
|
return [
|
||||||
'name' => $this->faker->name(),
|
'name' => $this->faker->name(),
|
||||||
'permissions' => json_encode([]),
|
'permissions' => json_encode([]),
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ class LocationFactory extends Factory
|
||||||
'currency' => $this->faker->currencyCode(),
|
'currency' => $this->faker->currencyCode(),
|
||||||
'zip' => $this->faker->postcode(),
|
'zip' => $this->faker->postcode(),
|
||||||
'image' => rand(1, 9).'.jpg',
|
'image' => rand(1, 9).'.jpg',
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ class ManufacturerFactory extends Factory
|
||||||
'support_phone' => $this->faker->phoneNumber(),
|
'support_phone' => $this->faker->phoneNumber(),
|
||||||
'url' => $this->faker->url(),
|
'url' => $this->faker->url(),
|
||||||
'support_email' => $this->faker->safeEmail(),
|
'support_email' => $this->faker->safeEmail(),
|
||||||
|
'notes' => 'Created by DB seeder',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue