Changeset 51568 for trunk/tests/phpunit/tests/meta.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/meta.php
r51454 r51568 7 7 protected $updated_mids = array(); 8 8 9 function set Up() {10 parent::set Up();9 function set_up() { 10 parent::set_up(); 11 11 $this->author = new WP_User( self::factory()->user->create( array( 'role' => 'author' ) ) ); 12 12 $this->meta_id = add_metadata( 'user', $this->author->ID, 'meta_key', 'meta_value' );
Note: See TracChangeset
for help on using the changeset viewer.