Changeset 38382 for trunk/tests/phpunit/tests/xmlrpc/wp/newPost.php
- Timestamp:
- 08/26/2016 08:21:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/newPost.php
r36163 r38382 234 234 $this->make_user_by_role( 'editor' ); 235 235 236 $tag1 = wp_create_tag ( rand_str( 30 ));236 $tag1 = wp_create_tag( 'tag1' ); 237 237 $this->assertInternalType( 'array', $tag1 ); 238 $tag2 = wp_create_tag ( rand_str( 30 ));238 $tag2 = wp_create_tag( 'tag2' ); 239 239 $this->assertInternalType( 'array', $tag2 ); 240 $tag3 = wp_create_tag ( rand_str( 30 ));240 $tag3 = wp_create_tag( 'tag3' ); 241 241 $this->assertInternalType( 'array', $tag3 ); 242 242 … … 259 259 $this->make_user_by_role( 'editor' ); 260 260 261 $ambiguous_name = rand_str( 30 );261 $ambiguous_name = 'foo'; 262 262 $parent_cat = wp_create_category( $ambiguous_name ); 263 263 $child_cat = wp_create_category( $ambiguous_name, $parent_cat ); 264 264 265 $cat1_name = rand_str( 30 );265 $cat1_name = 'cat1'; 266 266 $cat1 = wp_create_category( $cat1_name, $parent_cat ); 267 $cat2_name = rand_str( 30 );267 $cat2_name = 'cat2'; 268 268 269 269 // first a post with valid categories; one that already exists and one to be created
Note: See TracChangeset
for help on using the changeset viewer.