Make WordPress Core

Changeset 571 in tests


Ignore:
Timestamp:
03/13/2012 09:51:32 PM (15 years ago)
Author:
kurtpayne
Message:

Fixing failed unit tests

Location:
wp-testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r562 r571  
    10281028                $inputs = array(
    10291029                        "abc <br> lol <br />" => "abc <br /> lol <br />",
    1030                         "<BR> HO HO <HR>"     => "<br /> ho ho <hr />",
     1030                        "<br> ho ho <hr>"     => "<br /> ho ho <hr />",
    10311031                        "<hr><br>"            => "<hr /><br />"
    10321032                        );
  • wp-testcase/test_includes_functions.php

    r437 r571  
    192192
    193193                                '12%af34567890@..%^_+qwerty-fghjkl-zx.png',
    194                                 str_replace( '/', '', $testdir ).'test-image-with-path.png', // may need array( '/', '\\', ':' ) -> '' for Windows
     194                                str_replace( array( '\\', '/', ':' ), '', $testdir ).'test-image-with-path.png',
    195195                        );
    196196
Note: See TracChangeset for help on using the changeset viewer.