Make WordPress Core

Changeset 847 in tests


Ignore:
Timestamp:
07/02/2012 01:03:34 AM (13 years ago)
Author:
nacin
Message:

Remove shortcodes we don't need from test_shortcode.php. see #95 for where they are implemented. see #75.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-testcase/test_shortcode.php

    r828 r847  
    55class TestShortcode extends WP_UnitTestCase {
    66
    7     protected $shortcodes = array( 'footag', 'bartag', 'baztag', 'dumptag', 'paragraph' );
     7    protected $shortcodes = array( 'footag', 'bartag', 'baztag', 'dumptag' );
    88
    99    function setUp() {
     
    5555    }
    5656
    57     // testing p-wrapping of shortcode output
    58     function _shortcode_paragraph( $atts ) {
    59         extract(shortcode_atts(array(
    60             'class' => 'graf',
    61         ), $atts));
    62         return "<p class='$class'>$content</p>\n";
    63     }
    64 
    6557    function _shortcode_tag($atts, $content=NULL, $tagname=NULL) {
    6658        $this->atts = $atts;
Note: See TracChangeset for help on using the changeset viewer.