Changeset 48937 for trunk/tests/phpunit/tests/multisite/networkQuery.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/networkQuery.php
r46586 r48937 71 71 ); 72 72 73 $this->assert Equals( 3, count( $found ) );73 $this->assertSame( 3, count( $found ) ); 74 74 } 75 75 … … 86 86 ); 87 87 88 $this->assert Equals( $expected, $found );88 $this->assertSame( $expected, $found ); 89 89 90 90 $found = $q->query( … … 96 96 ); 97 97 98 $this->assert Equals( array_reverse( $expected ), $found );98 $this->assertSame( array_reverse( $expected ), $found ); 99 99 } 100 100 … … 139 139 ); 140 140 141 $this->assert Equals( 2, $found );141 $this->assertSame( 2, $found ); 142 142 } 143 143 … … 436 436 ); 437 437 438 $this->assert Equals( $expected, $found );438 $this->assertSame( $expected, $found ); 439 439 } 440 440 … … 463 463 ); 464 464 465 $this->assert Equals( $number_of_queries, $wpdb->num_queries );465 $this->assertSame( $number_of_queries, $wpdb->num_queries ); 466 466 } 467 467 … … 492 492 ) 493 493 ); 494 $this->assert Equals( $number_of_queries, $wpdb->num_queries );494 $this->assertSame( $number_of_queries, $wpdb->num_queries ); 495 495 } 496 496 … … 521 521 ) 522 522 ); 523 $this->assert Equals( $number_of_queries + 1, $wpdb->num_queries );523 $this->assertSame( $number_of_queries + 1, $wpdb->num_queries ); 524 524 } 525 525 … … 547 547 548 548 // Make sure manually setting total_users doesn't get overwritten. 549 $this->assert Equals( 1, $q->found_networks );549 $this->assertSame( 1, $q->found_networks ); 550 550 } 551 551
Note: See TracChangeset
for help on using the changeset viewer.