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

fix: block type tests failing #231

Merged
merged 6 commits into from
Jul 24, 2024
Merged

Conversation

jasonbahl
Copy link
Contributor

What does this implement/fix? Explain your changes.

This ensures that Blocks have an ID when resolving and assigns a unique ID (mimicking clientId behavior) if a block does not have an ID.

Does this close any currently open issues?

closes #230

Any relevant logs, error output, GraphiQL screenshots, etc?

BEFORE

Screenshot of just the AcfeAdvancedLinkFieldTest.php:testFieldOnAcfBlock test failing

CleanShot 2024-07-24 at 13 11 05

AFTER

Screenshot of all wpunit tests passing

CleanShot 2024-07-24 at 13 10 20

@jasonbahl jasonbahl requested a review from josephfusco July 24, 2024 19:12
@jasonbahl jasonbahl self-assigned this Jul 24, 2024
@jasonbahl jasonbahl changed the title fix: 230 block type tests failing fix: block type tests failing Jul 24, 2024
@jasonbahl jasonbahl merged commit 93c83da into develop Jul 24, 2024
25 checks passed
@jasonbahl jasonbahl mentioned this pull request Jul 25, 2024
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.

Tests failing for field groups assigned to Block Types
1 participant