Changeset 48937 for trunk/tests/phpunit/tests/multisite/siteQuery.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/siteQuery.php
r47122 r48937 136 136 ); 137 137 138 $this->assert Equals( 3, count( $found ) );138 $this->assertSame( 3, count( $found ) ); 139 139 } 140 140 … … 182 182 ); 183 183 184 $this->assert Equals( 2, $found );184 $this->assertSame( 2, $found ); 185 185 } 186 186 … … 238 238 ); 239 239 240 $this->assert Equals( $expected, $found );240 $this->assertSame( $expected, $found ); 241 241 242 242 $found = $q->query( … … 249 249 ); 250 250 251 $this->assert Equals( array_reverse( $expected ), $found );251 $this->assertSame( array_reverse( $expected ), $found ); 252 252 } 253 253 … … 699 699 ); 700 700 701 $this->assert Equals( $expected, $found );701 $this->assertSame( $expected, $found ); 702 702 } 703 703 … … 716 716 ); 717 717 718 $this->assert Equals( $expected, $found );718 $this->assertSame( $expected, $found ); 719 719 } 720 720 … … 734 734 ); 735 735 736 $this->assert Equals( $expected, $found );736 $this->assertSame( $expected, $found ); 737 737 } 738 738 … … 815 815 ); 816 816 817 $this->assert Equals( $number_of_queries, $wpdb->num_queries );817 $this->assertSame( $number_of_queries, $wpdb->num_queries ); 818 818 } 819 819 … … 845 845 ) 846 846 ); 847 $this->assert Equals( $number_of_queries, $wpdb->num_queries );847 $this->assertSame( $number_of_queries, $wpdb->num_queries ); 848 848 } 849 849 … … 875 875 ) 876 876 ); 877 $this->assert Equals( $number_of_queries + 1, $wpdb->num_queries );877 $this->assertSame( $number_of_queries + 1, $wpdb->num_queries ); 878 878 } 879 879 … … 904 904 905 905 if ( $strict ) { 906 $this->assert Equals( $expected, $found );906 $this->assertSame( $expected, $found ); 907 907 } else { 908 908 $this->assertEqualSets( $expected, $found ); … … 934 934 935 935 // Make sure manually setting total_users doesn't get overwritten. 936 $this->assert Equals( 1, $q->found_sites );936 $this->assertSame( 1, $q->found_sites ); 937 937 } 938 938
Note: See TracChangeset
for help on using the changeset viewer.