diff --git a/plugins/optimization-detective/tests/test-class-od-html-tag-processor.php b/plugins/optimization-detective/tests/test-class-od-html-tag-processor.php index c1c3da372..524c79f49 100644 --- a/plugins/optimization-detective/tests/test-class-od-html-tag-processor.php +++ b/plugins/optimization-detective/tests/test-class-od-html-tag-processor.php @@ -107,18 +107,18 @@ public function data_provider_sample_documents(): array { 1 -

+ 2 ', - 'open_tags' => array( 'HTML', 'HEAD', 'BODY', 'SPAN', 'BR', 'SPAN' ), + 'open_tags' => array( 'HTML', 'HEAD', 'BODY', 'SPAN', 'META', 'SPAN' ), 'xpaths' => array( '/*[1][self::HTML]', '/*[1][self::HTML]/*[1][self::HEAD]', '/*[1][self::HTML]/*[2][self::BODY]', '/*[1][self::HTML]/*[2][self::BODY]/*[1][self::SPAN]', - '/*[1][self::HTML]/*[2][self::BODY]/*[2][self::BR]', + '/*[1][self::HTML]/*[2][self::BODY]/*[2][self::META]', '/*[1][self::HTML]/*[2][self::BODY]/*[3][self::SPAN]', ), ),