trypost/tests/Feature/Services
Paulo Castellano 8866e4ed46 fix(posts): cache the link card as an array, not the DTO
The link-card cache stored a LinkCardMetadata object, which does not round-trip through the Redis cache driver — a cache hit came back as __PHP_Incomplete_Class and 500'd the preview endpoint. Cache the plain array (toArray) and rebuild the DTO via a new fromArray(). Primitives round-trip cleanly through every driver. The cache test now asserts a primitive is stored and a hit reconstructs the DTO; the array cache driver used in tests hid the bug because it never serializes.
2026-07-17 16:34:04 -03:00
..
Social fix(posts): cache the link card as an array, not the DTO 2026-07-17 16:34:04 -03:00
InstagramPublisherTest.php Harden Instagram story image fitting and cover it end to end 2026-07-16 20:09:43 -03:00
XPublisherTest.php Stop publishers/analytics from rotating still-valid tokens 2026-07-03 08:30:58 -03:00
YouTubePublisherTest.php test: move publisher tests from Unit to Feature 2026-05-12 19:02:51 -03:00