add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
+3 -4
View File
@@ -17,7 +17,7 @@ class PermissionCrudService
return Permission::query()->create($data);
});
} catch (\Throwable $e) {
Log::error('Permission create failed: '.$e->getMessage());
Log::error('Permission create failed: ' . $e->getMessage());
throw $e;
}
}
@@ -30,11 +30,10 @@ class PermissionCrudService
return DB::transaction(function () use ($permission, $data) {
$permission->fill($data);
$permission->save();
return $permission;
});
} catch (\Throwable $e) {
Log::error('Permission update failed: '.$e->getMessage());
Log::error('Permission update failed: ' . $e->getMessage());
throw $e;
}
}
@@ -46,7 +45,7 @@ class PermissionCrudService
$permission->delete();
});
} catch (\Throwable $e) {
Log::error('Permission delete failed: '.$e->getMessage());
Log::error('Permission delete failed: ' . $e->getMessage());
throw $e;
}
}