Changeset 48937 for trunk/tests/phpunit/tests/term/wpUpdateTerm.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpUpdateTerm.php
r46586 r48937 116 116 117 117 $term = get_term( $t, 'wptests_tax' ); 118 $this->assert Equals( 0, $term->parent );118 $this->assertSame( 0, $term->parent ); 119 119 _unregister_taxonomy( 'wptests_tax' ); 120 120 } … … 681 681 _unregister_taxonomy( 'wptests_tax' ); 682 682 683 $this->assert Same( false,wp_cache_get( 'all_ids', 'wptests_tax' ) );684 $this->assert Same( false,wp_cache_get( 'get', 'wptests_tax' ) );683 $this->assertFalse( wp_cache_get( 'all_ids', 'wptests_tax' ) ); 684 $this->assertFalse( wp_cache_get( 'get', 'wptests_tax' ) ); 685 685 686 686 $cached_children = get_option( 'wptests_tax_children' );
Note: See TracChangeset
for help on using the changeset viewer.