trypost/tests/Feature/Automation/Node
Paulo Castellano 605261e1b8 Back fixed-set automation strings with enums and consts
Replace magic strings across the automation domain with backed PHP enums
(HttpMethod, AuthType, DelayUnit, ScheduleField) and mirrored TS consts
(http-method, auth-type, delay-unit, schedule-field, condition-operator,
publish-mode), plus the existing Condition\Handle / Operator / Publish\Mode.

Also:
- require scheduled_offset via concrete-index required_if instead of
  defaulting to 60 when the publish mode is scheduled
- fail the webhook node explicitly when the resolved url is empty
- localize node failure messages (fetch_rss/http/webhook)
- cast resolver/strtoupper inputs to string so a present-null config value
  degrades gracefully instead of crashing
- list automations with config('app.pagination.default'), drop the perPage param
2026-06-13 15:04:24 -03:00
..
ConditionNodeTest.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
DelayNodeTest.php Cover node-run error paths and align webhook failure handling 2026-06-13 09:56:18 -03:00
EndNodeTest.php Add strict_types to automation files and AutomationNodeState factory 2026-06-10 17:26:50 -03:00
FetchRssNodeTest.php Cover node-run error paths and align webhook failure handling 2026-06-13 09:56:18 -03:00
GenerateNodeTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
HttpRequestNodeTest.php Cover node-run error paths and align webhook failure handling 2026-06-13 09:56:18 -03:00
PublishNodeTest.php Cover node-run error paths and align webhook failure handling 2026-06-13 09:56:18 -03:00
WebhookNodeTest.php Back fixed-set automation strings with enums and consts 2026-06-13 15:04:24 -03:00