#35711 closed defect (bug) (invalid)
Duplicate lines in redirect unit test
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.6 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Tests are duplicated
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L22
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L23
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L24
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L25
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L29
https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/formatting/redirect.php#L30
Change History (3)
Note: See
TracTickets for help on using
tickets.
Technically these are different tests, one is asserting lowercase octets, the other uppercase.
It could be boiled down to show that both Upper and Lower work and then not duplicate them for following tests.. not sure how much effort should be spent on it though.