Changeset 52389 for trunk/tests/phpunit/tests/term/getTermField.php
- Timestamp:
- 12/19/2021 01:42:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTermField.php
r52010 r52389 92 92 93 93 public function test_get_term_field_name() { 94 $name = rand_str( 15 );94 $name = 'baz'; 95 95 96 96 $term = self::factory()->term->create_and_get( … … 107 107 108 108 public function test_get_term_field_slug_when_slug_is_set() { 109 $slug = rand_str( 15 );109 $slug = 'baz'; 110 110 111 111 $term = self::factory()->term->create_and_get( … … 122 122 123 123 public function test_get_term_field_slug_when_slug_falls_back_from_name() { 124 $name = rand_str( 15 );124 $name = 'baz'; 125 125 126 126 $term = self::factory()->term->create_and_get( … … 157 157 158 158 public function test_get_term_field_description() { 159 $desc = wpautop( rand_str());159 $desc = wpautop( 'baz' ); 160 160 161 161 $term = self::factory()->term->create_and_get(
Note: See TracChangeset
for help on using the changeset viewer.