[wp-trac] [WordPress Trac] #55571: Gallery block fixtures in phpunit tests need updating
WordPress Trac
noreply at wordpress.org
Tue Mar 7 05:46:32 UTC 2023
#55571: Gallery block fixtures in phpunit tests need updating
--------------------------------------+---------------------------
Reporter: glendaviesnz | Owner: glendaviesnz
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.2
Component: Build/Test Tools | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"55471" 55471]:
{{{
#!CommitTicketReference repository="" revision="55471"
Build/Tests Tools: Add unit tests for Gallery blocks.
Introduces unit tests for the following blocks
* Gallery block with caption
* Gallery block, deprecations 1 thru 7
Updates the unit tests for the following blocks to match the counterparts
stored in the Gutenberg repository:
* Gallery block
* Gallery block with columns
Modifies `Tests_Blocks_Render::test_do_block_output()` to ignore white
space at the end of lines to account for whitespace equivalence in HTML.
Props peterwilsoncc, isabel_brison, gziolo.
Fixes #55571.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55571#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list