[wp-trac] [WordPress Trac] #62110: AtomParser_Parse_Test::test_parse_sets_handlers failing
WordPress Trac
noreply at wordpress.org
Wed Sep 25 21:18:03 UTC 2024
#62110: AtomParser_Parse_Test::test_parse_sets_handlers failing
------------------------------+---------------------
Reporter: benniledl | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+---------------------
Changes (by hellofromTonya):
* component: External Libraries => Build/Test Tools
* milestone: Awaiting Review => 6.7
Comment:
@benniledl tests are failing after the introduction of this new
`AtomParser_Parse_Test` test via [59062] / #62061. Moving this ticket into
6.7 for investigation.
I asked them to rollback the changes in the source code and rerun the
tests:
>I have manually rolled back these changes in the `/src/` directory but
the same happens.
So the issue is not due to the changes made in ` AtomParser::parse()`.
Marking this ticket then as Build/Test, as it seems to specific the tests
and/or test's xml data.
Sharing more of Benni's debug findings:
>I tried changing the assertion to 2 just to see if something else fails.
>{{{
>1) AtomParser_Parse_Test::test_parse_sets_handlers
>cdata() handler did not get called expected nr of times
>Failed asserting that 97 is identical to 57.
>/var/home/servertechnik_com/wp-
tests/wpenv/tests/phpunit/tests/atomlib/AtomParser_Parse_Test.php:73
>}}}
>
>then "correcting" above assertion, this is the next one that fails
>{{{
>1) AtomParser_Parse_Test::test_parse_sets_handlers
>_default() handler did not get called expected nr of times
>Failed asserting that 7 is identical to 2.
>/var/home/servertechnik_com/wp-tests/wp-
env/tests/phpunit/tests/atomlib/AtomParser_Parse_Test.php:74
>}}}
>so 3 assertions fail
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62110#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list