Skip to content

✅ Fix snapshot tests#547

Merged
retlehs merged 2 commits into
mainfrom
fix-snapshots
Jun 1, 2026
Merged

✅ Fix snapshot tests#547
retlehs merged 2 commits into
mainfrom
fix-snapshots

Conversation

@retlehs
Copy link
Copy Markdown
Member

@retlehs retlehs commented Jun 1, 2026

Two transitive dep updates broke snapshot assertions on fresh CI installs (we don't commit a lockfile).

spatie/pest-plugin-snapshots 2.3.1 (spatie/pest-plugin-snapshots#23) removed a double-increment of the snapshot ID counter, so suffixes now start at __1 instead of __2. Our committed snapshots used the old 2.3.0 numbering. Regenerated against 2.3.1 — content unchanged, only the numbering.

symfony/yaml v8 dumps an empty inline array as {} where v7 used { }. Since v8 requires PHP >=8.4, the 8.3 job resolved v7 and 8.4/8.5 resolved v8, so the enqueue_css snapshot couldn't match across the matrix. Normalized empty inline collections in a custom ObjectDriver so both versions pass.

@retlehs retlehs self-assigned this Jun 1, 2026
@retlehs retlehs changed the title ✅ Regenerate snapshots ✅ Fix snapshot tests Jun 1, 2026
@retlehs retlehs merged commit 47bf82b into main Jun 1, 2026
5 checks passed
@retlehs retlehs deleted the fix-snapshots branch June 1, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant