#54551 closed task (blessed) (fixed)
Block Template Utils: Enable currently incomplete unit test
Reported by: | Bernhard Reiter | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Editor | Keywords: | has-patch has-unit-tests commit |
Focuses: | Cc: |
Description
We currently have one Block Template Utils unit test marked as incomplete, as it needs a block template theme, which at the time the test was backported from Gutenberg wasn't yet available.
We should enable it now that we have both Twenty Twenty Two and the block-theme
and block-theme-child
test fixture block template themes are available.
Change History (8)
This ticket was mentioned in PR #1990 on WordPress/wordpress-develop by ockham.
3 years ago
#1
- Keywords has-patch has-unit-tests added
#2
@
3 years ago
- Milestone changed from Awaiting Review to 5.9
- Type changed from enhancement to task (blessed)
3 years ago
#3
Ah, tests need some more tweaking, probably akin to https://github.com/WordPress/wordpress-develop/pull/1920.
#5
@
3 years ago
- Keywords commit added
https://github.com/WordPress/wordpress-develop/pull/1990 looks good to me. Thanks @bernhard-reiter!
#6
@
3 years ago
- Owner set to hellofromTonya
- Status changed from new to reviewing
Self-assigning for commit, I already reviewed it.
hellofromtonya commented on PR #1990:
3 years ago
#8
Committed via https://core.trac.wordpress.org/changeset/52314.
We currently have one Block Template Utils unit test marked as incomplete, as it needs a block template theme, which at the time the test was backported from Gutenberg wasn't yet available.
We should enable it now that we have both Twenty Twenty Two and the
block-theme
andblock-theme-child
test fixture block template themes are available.Trac ticket: https://core.trac.wordpress.org/ticket/54551