Skip to content

tests: pass cspNonce to PageContext constructions - #1

Merged
DanMat merged 1 commit into
mainfrom
bump-pagecontext-cspnonce
Aug 23, 2026
Merged

DanMat merged 1 commit into
mainfrom
bump-pagecontext-cspnonce

Conversation

@DanMat

@DanMat DanMat commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Core Slice H (NimbusCMS/nimbus#147) adds a required PageContext::$cspNonce (5th constructor param) so head contributors can nonce their scripts.

This bumps the 7 PageContext constructions in the test suite (JsonLdContributorTest, PackageIntegrationTest) to pass a nonce, so the suite builds against the current core dev-main. Test-only; the SEO contributor renders data blocks (<script type="application/ld+json">) which are unaffected by the nonce.

🤖 Generated with Claude Code

Core Slice H (NimbusCMS/nimbus#147) adds a required PageContext::$cspNonce
(5th constructor param). Bump the 7 test constructions to pass it so the suite
builds against the current core dev-main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@DanMat
DanMat merged commit 3e4275a into main Aug 23, 2026
2 checks passed
@DanMat
DanMat deleted the bump-pagecontext-cspnonce branch August 23, 2026 20:57
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