Skip to content

Commit a94d154

Browse files
committed
Use DIR_TESTDATA
1 parent 968b567 commit a94d154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function test_parse( $fragment_context, $html, $result ) {
8585
* @return array[]
8686
*/
8787
public function data_external_html5lib_tests() {
88-
$test_dir = __DIR__ . '/../../data/html5lib-tests/tree-construction/';
88+
$test_dir = DIR_TESTDATA . '/html5lib-tests/tree-construction/';
8989

9090
$handle = opendir( $test_dir );
9191
while ( false !== ( $entry = readdir( $handle ) ) ) {

0 commit comments

Comments
 (0)