Make WordPress Core


Ignore:
Timestamp:
07/09/2012 03:32:24 PM (14 years ago)
Author:
nacin
Message:

Convert knownWPBug and knownUTBug to @ticket annotations. fixes #102.

Allows for an extra description to be included with the annotation,
which will be passed to markTestSkipped().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_includes_taxonomy.php

    r860 r894  
    1313        }
    1414
     15        /**
     16         * @ticket 5417
     17         */
    1518        function test_get_unknown_taxonomies() {
    1619                // taxonomies for an unknown object type
    17                 $this->knownWPBug(5417);
    1820                $this->assertEquals( array(), get_object_taxonomies(rand_str()) );
    1921                $this->assertEquals( array(), get_object_taxonomies('') );
    … …  
    156158        }
    157159
     160        /**
     161         * @ticket 5381
     162         */
    158163        function test_is_term_type() {
    159164                // insert a term
    160                 $this->knownWPBug(5381);
    161165                $term = rand_str();
    162166                $t = wp_insert_term( $term, $this->taxonomy );
Note: See TracChangeset for help on using the changeset viewer.