trypost/tests/Feature/Ai
Paulo Castellano 9f5bacc03f refactor(ai): introduce GeneratorFormat enum and drop stringly-typed format
Replace the 'single'/'carousel' string format threaded through the AI
generation path with a typed GeneratorFormat enum (PostContentGenerator,
PostContentHumanizer, PostContentStreamer, StreamPostCreation,
RunGenerateNode, deriveFormat).

Remove generatorFormat() from AiContentTemplate and the three templates —
it conflated style and format (returning 'tweet_card'). The tweet-card
check now lives on ContentStyle via isTweetCard(), and the humanizer skip
on ContentStyle::humanizes(), so the style declares its own behaviour
instead of callers comparing magic strings.
2026-06-18 11:11:23 -03:00
..
Templates refactor(ai): introduce GeneratorFormat enum and drop stringly-typed format 2026-06-18 11:11:23 -03:00
AutofillBrandTest.php Structure brand voice and make generated copy platform-aware 2026-06-12 17:09:39 -03:00
PostAiCreateTest.php fix(ai-templates): real needsAccount + content_type test coverage; drop unwired humanizableFields; cleanup 2026-06-17 17:56:52 -03:00
PostAiGenerateTest.php refactor(posts): centralize post editing status checks with PostStatusGuard 2026-05-21 19:27:19 -03:00
PostAiRegenerateMediaTest.php feat: regenerate AI post images with brand palette in editor 2026-05-21 16:27:55 -03:00
PostAiReviewTest.php refactor(posts): centralize post editing status checks with PostStatusGuard 2026-05-21 19:27:19 -03:00
RegeneratePostMediaImageJobTest.php feat(posts): introduce change_mode for flexible image and text regeneration 2026-05-21 20:00:41 -03:00
StreamPostContentJobTest.php feat: replace legacy AI assistant with modular post content generation, review, and template management system 2026-05-03 09:36:50 -03:00
StreamPostCreationTest.php feat(ai-templates): tweet-card-with-photo style (blurred dark image background) 2026-06-17 19:43:21 -03:00
UserAiGenerationChannelTest.php refactor: introduce VideoPreview component and standardize media handling across post previews 2026-05-08 18:30:11 -03:00