Make WordPress Core


Ignore:
Timestamp:
07/09/2012 03:32:24 PM (13 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_pluggable.php

    r828 r894  
    4747 * @group pluggable
    4848 * @group mail
     49 * @ticket UT47
    4950 */
    5051class TestMailFunctions extends WP_UnitTestCase {
    5152    function setUp() {
    5253        parent::setUp();
    53         $this->knownUTBug( 47 );
    5454    }
    5555
     
    113113    }
    114114
     115    /**
     116     * @ticket 15448
     117     */
    115118    function test_wp_mail_plain_and_html() {
    116         $this->knownWPBug(15448);
    117119
    118120        $to = 'user@example.com';
     
    149151    }
    150152
     153    /**
     154     * @ticket 17305
     155     */
    151156    function test_wp_mail_rfc2822_addresses() {
    152         $this->knownWPBug(17305);
    153157
    154158        $to = "Name <address@tld.com>";
     
    185189    }
    186190
     191    /**
     192     * @ticket 17305
     193     */
    187194    function test_wp_mail_multiple_rfc2822_to_addresses() {
    188         $this->knownWPBug(17305);
    189195
    190196        $to = "Name <address@tld.com>, Another Name <another_address@different-tld.com>";
     
    227233    }
    228234
     235    /**
     236     * @ticket 18463
     237     */
    229238    function test_wp_mail_to_address_no_name() {
    230         $this->knownWPBug( 18463 );
    231239
    232240        $to = "<address@tld.com>";
     
    268276 */
    269277class TestUserFunction extends WP_UnitTestCase {
    270     // #13317
     278    /**
     279     * @ticket 13317
     280     */
    271281    function test_get_userdata() {
    272282        $id = $this->factory->user->create( array( 'role' => 'administrator' ) );
Note: See TracChangeset for help on using the changeset viewer.