This commit is contained in:
Masroor Ehsan 2025-01-22 18:57:12 +06:00
parent 39bc8264aa
commit 41d53d1cc5

View File

@ -48,7 +48,7 @@ public function run(): void
]); ]);
}); });
User::factory(2) User::factory(4)
->create([ ->create([
'organization_id' => $chevron->id, 'organization_id' => $chevron->id,
'department_id' => $chev_xr->id, 'department_id' => $chev_xr->id,
@ -56,7 +56,7 @@ public function run(): void
->each(function ($u, $key) { ->each(function ($u, $key) {
$u->assignRole(Role::Technician); $u->assignRole(Role::Technician);
$u->update([ $u->update([
'username' => sprintf('xrtech%d', $key + 1), 'username' => sprintf('xrt%d', $key + 1),
]); ]);
}); });