Changeset 64808
- Timestamp:
- 10/27/2026 05:53:36 PM (42 hours ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 4 edited
-
db.php (modified) (2 diffs)
-
post.php (modified) (2 diffs)
-
rewrite.php (modified) (1 diff)
-
widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/db.php
r64458 r64808 260 260 $wpdb->col_meta = $new_meta; 261 261 262 $this->assertNot Equals( $col_meta, $new_meta );262 $this->assertNotSame( $col_meta, $new_meta ); 263 263 $this->assertSame( $col_meta, $wpdb->col_meta ); 264 264 } … … 572 572 $stop = $wpdb->timer_stop(); 573 573 574 $this->assertNot Equals( $wpdb->time_start, $stop );574 $this->assertNotSame( $wpdb->time_start, $stop ); 575 575 $this->assertGreaterThan( $stop, $wpdb->time_start ); 576 576 } -
trunk/tests/phpunit/tests/post.php
r64111 r64808 280 280 $this->assertSame( '1', $after_draft_counts->draft ); 281 281 $this->assertSame( '2', $after_draft_counts->publish ); 282 $this->assertNot Equals( $initial_counts->publish, $after_draft_counts->publish );282 $this->assertNotSame( $initial_counts->publish, $after_draft_counts->publish ); 283 283 } 284 284 … … 301 301 $this->assertSame( '1', $after_trash_counts->trash ); 302 302 $this->assertSame( '2', $after_trash_counts->publish ); 303 $this->assertNot Equals( $initial_counts->publish, $after_trash_counts->publish );303 $this->assertNotSame( $initial_counts->publish, $after_trash_counts->publish ); 304 304 } 305 305 -
trunk/tests/phpunit/tests/rewrite.php
r64744 r64808 372 372 373 373 $this->go_to( $not_a_home_url . 'page' ); 374 $this->assertNot Equals(374 $this->assertNotSame( 375 375 array( 376 376 'page' => '', -
trunk/tests/phpunit/tests/widgets.php
r64681 r64808 1253 1253 1254 1254 // Sidebar_widgets option was not updated. 1255 $this->assertNot Equals( $sidebars_widgets, wp_get_sidebars_widgets() );1255 $this->assertNotSame( $sidebars_widgets, wp_get_sidebars_widgets() ); 1256 1256 } 1257 1257
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)