Skip to content

Commit eaed863

Browse files
committed
Process non-body context tests
1 parent 4f5249c commit eaed863

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ public function data_external_html5lib_tests() {
138138
* @return bool True if the test case should be skipped. False otherwise.
139139
*/
140140
private static function should_skip_test( ?string $test_context_element, string $test_name ): bool {
141-
if ( null !== $test_context_element && 'body' !== $test_context_element ) {
142-
return true;
143-
}
144-
145141
if ( array_key_exists( $test_name, self::SKIP_TESTS ) ) {
146142
return true;
147143
}

0 commit comments

Comments
 (0)