Make WordPress Core

Changeset 894 in tests for trunk/tests/test_user.php


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_user.php

    r865 r894  
    163163    /**
    164164     * Test the magic __unset method
    165      * @return void
     165     *
     166     * @ticket 20043
    166167     */
    167168    public function test_user_unset() {
    168         $this->knownWPBug( 20043 );
    169        
    170169        // New user
    171170        $user_id = $this->factory->user->create( array( 'role' => 'author' ) );
     
    336335    }
    337336
     337    /**
     338     * @ticket 19500 Usermeta cache is not cleared after user deletion
     339     */
    338340    function test_get_blogs_of_user() {
    339         // Usermeta cache is not cleared after user deletion.
    340         $this->knownWPBug(19500);
    341 
    342341        // Logged out users don't have blogs.
    343342        $this->assertEquals( array(), get_blogs_of_user( 0 ) );
     
    355354    }
    356355
     356    /**
     357     * @ticket 19500 Usermeta cache is not cleared after user deletion
     358     */
    357359    function test_is_user_member_of_blog() {
    358         // Usermeta cache is not cleared after user deletion.
    359         $this->knownWPBug(19500);
    360 
    361360        $old_current = get_current_user_id();
    362361
Note: See TracChangeset for help on using the changeset viewer.