fix: test regressions + v3.0.0-beta.14 release#955
Open
lane711 wants to merge 1 commit into
Open
Conversation
… v3.0.0-beta.14 - document-types-seed: remove duplicate media_asset registration (lines 208–227) that overwrote internal:true, causing media_asset to appear in content dropdowns - admin-content-docbacked + api-content-crud tests: update COUNT assertion from 2→1; versioning-off publish() deletes old published row so only v2 survives - on-cron-tick tests: fix swapped (ctx, event) → (event, ctx) argument order - Bump version to 3.0.0-beta.14 (skip beta.13, published from diverged branch) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
94684a7 to
9c55a4d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
media_assetregistration indocument-types-seed.ts(lines 208–227 overwroteinternal: truefrom lines 114–142, causingmedia_assetto appear in content type dropdowns)publish()with versioning-off deletes old published row when no longer current draft — final count is 1, not 2on-cron-tick.test.ts: calls used(ctx, event)but function signature is(event, ctx)3.0.0-beta.14(skipping beta.13, which was published from a diverged branch)Test plan
@sonicjs-cms/core@3.0.0-beta.14published withlatestandbetadist-tagscreate-sonicjs@3.0.0-beta.14published withlatestandbetadist-tags🤖 Generated with Claude Code