Changeset 52010 for trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpSetObjectTerms.php
r51367 r52010 15 15 * @ticket 26570 16 16 */ 17 function test_set_object_terms() {17 public function test_set_object_terms() { 18 18 $non_hier = rand_str( 10 ); 19 19 $hier = rand_str( 10 ); … … 100 100 } 101 101 102 function test_set_object_terms_by_id() {102 public function test_set_object_terms_by_id() { 103 103 $ids = self::$post_ids; 104 104 … … 130 130 } 131 131 132 function test_set_object_terms_by_name() {132 public function test_set_object_terms_by_name() { 133 133 $ids = self::$post_ids; 134 134 … … 163 163 } 164 164 165 function test_set_object_terms_invalid() {165 public function test_set_object_terms_invalid() { 166 166 // Bogus taxonomy. 167 167 $result = wp_set_object_terms( self::$post_ids[0], array( rand_str() ), rand_str() ); … … 247 247 * Set some terms on an object; then change them while leaving one intact. 248 248 */ 249 function test_change_object_terms_by_id() {249 public function test_change_object_terms_by_id() { 250 250 $post_id = self::$post_ids[0]; 251 251 … … 305 305 * Set some terms on an object; then change them while leaving one intact. 306 306 */ 307 function test_change_object_terms_by_name() {307 public function test_change_object_terms_by_name() { 308 308 $post_id = self::$post_ids[0]; 309 309
Note: See TracChangeset
for help on using the changeset viewer.