WordPress.org

Make WordPress Core

Changeset 534 in tests


Ignore:
Timestamp:
02/15/12 12:05:52 (2 years ago)
Author:
westi
Message:

XMLRPC: Randomise the name in the wp.newTerm() tests too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test-xmlrpc-api/test_wp_newTerm.php

    r532 r534  
    2424        $this->_make_user( 'editor', 'editor', 'editor' ); 
    2525 
    26         $this->parent_term = wp_insert_term( 'parent' , 'category' ); 
     26        $this->parent_term = wp_insert_term( 'parent' . rand_str(), 'category' ); 
    2727 
    2828        $this->myxmlrpcserver = new wp_xmlrpc_server(); 
Note: See TracChangeset for help on using the changeset viewer.