-
Notifications
You must be signed in to change notification settings - Fork 0
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
tests : Add tests for Core Quote
block.
#23
Conversation
This was reset and cherrypicked to undo the bad merges/rebases Co-authored-by: Ta5r <[email protected]>
a4c2670
to
6d97815
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests/unit/CoreQuoteTest.php
Outdated
'layout' => null, | ||
'textAlign' => null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You removed these from the query entirely, so they should be removed here, not exiting with a value of null (ref: https://github.com/rtCamp/wp-graphql-content-blocks/actions/runs/11011696682/job/30576344056?pr=23#step:8:282)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yupp, i justt figured that out 😓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to comment them out, just remove them.
.changeset/thirty-chicken-drum.md
Outdated
"@wpengine/wp-graphql-content-blocks": patch | ||
--- | ||
|
||
test : Core Quote block fields and attributes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last two unresolved comments, then go ahead and open it up on WPE.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go ahead and open this on WPE 🙌
Tracking wpengine#299
What:
This PR backfills tests for the
Core Quote
block and its attributes.Tested attributes :
Untested fields:
CoreQuoteAttributes.metadata
- @todoExposed issues:
NA