Make WordPress Core

Ticket #42837: wp_normalize_path_tests.diff

File wp_normalize_path_tests.diff, 580 bytes (added by calin, 8 years ago)
  • tests/phpunit/tests/functions.php

    diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php
    index 329e784dae..30e6495607 100644
    a b class Tests_Functions extends WP_UnitTestCase { 
    150150                        array( '/www/path/', '/www/path/' ),
    151151                        array( '/www/path/////', '/www/path/' ),
    152152                        array( '/www/path', '/www/path' ),
     153
     154            // PHP Stream Wrappers
     155            array( 'php://input', 'php://input' ),
     156            array( 'http://example.com//path.ext', 'http://example.com/path.ext' ),
    153157                );
    154158        }
    155159