Skip to content

Commit

Permalink
Revert php unit test change
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed Feb 10, 2022
1 parent 06788a7 commit 3028707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/class-elements-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Gutenberg_Elements_Test extends WP_UnitTestCase {
* @return string String where the unique id classes were replaced with "wp-elements-1".
*/
private static function make_unique_id_one( $string ) {
return preg_replace( '/wp-elements-.{20}/', 'wp-elements-1', $string );
return preg_replace( '/wp-elements-.{13}/', 'wp-elements-1', $string );
}

/**
Expand Down

0 comments on commit 3028707

Please sign in to comment.