Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page and order args to embedded content helper #1295

Merged

Conversation

pezholio
Copy link
Contributor

@pezholio pezholio commented Nov 14, 2024

This improves the stub_publishing_api_has_embedded_content helper to allow us to mock requests with a query string. I've added a new stub_publishing_api_has_embedded_content_for_any_content_id helper rather than checking if content_id is anything, because the way we match query strings when a url is a regex is slightly different.

@pezholio pezholio force-pushed the content-modelling/678-add-new-args-to-embedded-content-helper branch 6 times, most recently from 2136b78 to 13cdd4a Compare November 14, 2024 11:48
I've added a new `stub_publishing_api_has_embedded_content_for_any_content_id`
helper rather than checking if `content_id` is `anything`, because the
way we match query strings when a url is a regex is slightly different.
@pezholio pezholio force-pushed the content-modelling/678-add-new-args-to-embedded-content-helper branch from 13cdd4a to ae41716 Compare November 14, 2024 12:10
@pezholio pezholio merged commit 0062147 into main Nov 14, 2024
41 checks passed
@pezholio pezholio deleted the content-modelling/678-add-new-args-to-embedded-content-helper branch November 14, 2024 12:13
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.

2 participants