Changeset 51331 for trunk/tests/phpunit/tests/term/meta.php
- Timestamp:
- 07/05/2021 05:21:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/meta.php
r48939 r51331 95 95 96 96 $actual = update_term_meta( $t, 'foo', 'bar' ); 97 $this->assertI nternalType( 'int',$actual );97 $this->assertIsInt( $actual ); 98 98 $this->assertNotEmpty( $actual ); 99 99 … … 550 550 wp_cache_delete( 'last_changed', 'terms' ); 551 551 552 $this->assertI nternalType( 'integer',add_metadata( 'term', $term_id, 'foo', 'bar' ) );552 $this->assertIsInt( add_metadata( 'term', $term_id, 'foo', 'bar' ) ); 553 553 $this->assertNotFalse( wp_cache_get_last_changed( 'terms' ) ); 554 554 } … … 562 562 wp_cache_delete( 'last_changed', 'terms' ); 563 563 564 $this->assertI nternalType( 'integer',update_metadata( 'term', $term_id, 'foo', 'bar' ) );564 $this->assertIsInt( update_metadata( 'term', $term_id, 'foo', 'bar' ) ); 565 565 $this->assertNotFalse( wp_cache_get_last_changed( 'terms' ) ); 566 566 }
Note: See TracChangeset
for help on using the changeset viewer.