Make WordPress Core

Ticket #30284: 14050-remove.diff

File 14050-remove.diff, 860 bytes (added by MikeHansenMe, 10 years ago)

#14050

  • tests/phpunit/tests/shortcode.php

    diff --git a/tests/phpunit/tests/shortcode.php b/tests/phpunit/tests/shortcode.php
    index 7e8b971..2e61e72 100644
    a b EOF; 
    299299        }
    300300
    301301        /**
    302          * @ticket 14050
    303          */
    304         function test_shortcode_unautop() {
    305                 // a blank line is added at the end, so test with it already there
    306                 $test_string = "[footag]\n";
    307                 $this->assertEquals( $test_string, shortcode_unautop( wpautop( $test_string ) ) );
    308         }
    309 
    310         /**
    311          * @ticket 14050
    312          */
    313         function test_multiple_shortcode_unautop() {
    314                 // a blank line is added at the end, so test with it already there
    315                 $test_string = "[footag]\n[footag]\n";
    316                 $actual = shortcode_unautop( wpautop( $test_string ) );
    317                 $this->assertEquals( $test_string, $actual );
    318         }
    319 
    320         /**
    321302         * @ticket 10326
    322303         */
    323304        function test_strip_shortcodes() {