create(); // \App\Models\User::factory()->create([ // 'name' => 'Test User', // 'email' => 'test@example.com', // ]); Device::factory(2)->create(); User::create([ 'rz_username' => 'admin', 'full_name' => 'Admin', 'organisation_unit' => '11111111', 'has_admin_privileges' => true, 'hashed_password' => bcrypt('vollgeheim') ]); User::create([ 'rz_username' => 'user', 'full_name' => 'User', 'organisation_unit' => '66666666', 'has_admin_privileges' => false, 'hashed_password' => bcrypt('test123') ]); } }