Changeset 48939 for trunk/tests/phpunit/tests/user/query.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/query.php
r48937 r48939 848 848 $expected = array( self::$author_ids[0] ); 849 849 850 $this->assert EqualSets( $expected, $found );850 $this->assertSameSets( $expected, $found ); 851 851 } 852 852 … … 889 889 $expected = array( self::$author_ids[1], self::$author_ids[2] ); 890 890 891 $this->assert EqualSets( $expected, $found );891 $this->assertSameSets( $expected, $found ); 892 892 } 893 893 … … 930 930 $expected = array( self::$author_ids[2] ); 931 931 932 $this->assert EqualSets( $expected, $found );932 $this->assertSameSets( $expected, $found ); 933 933 } 934 934 … … 975 975 $expected = array( self::$author_ids[1] ); 976 976 977 $this->assert EqualSets( $expected, $found );977 $this->assertSameSets( $expected, $found ); 978 978 } 979 979 … … 1005 1005 $expected = array( self::$author_ids[0], self::$author_ids[1] ); 1006 1006 1007 $this->assert EqualSets( $expected, $found );1007 $this->assertSameSets( $expected, $found ); 1008 1008 } 1009 1009 … … 1043 1043 $expected = array( self::$author_ids[0], self::$author_ids[1] ); 1044 1044 1045 $this->assert EqualSets( $expected, $found );1045 $this->assertSameSets( $expected, $found ); 1046 1046 } 1047 1047 … … 1067 1067 1068 1068 $this->assertContains( "AND user_nicename = 'peter'", $q->query_where ); 1069 $this->assert EqualSets( $expected, $found );1069 $this->assertSameSets( $expected, $found ); 1070 1070 } 1071 1071 … … 1105 1105 1106 1106 $this->assertContains( "AND user_nicename IN ( 'peter','paul','mary' )", $q->query_where ); 1107 $this->assert EqualSets( $expected, $found );1107 $this->assertSameSets( $expected, $found ); 1108 1108 } 1109 1109 … … 1202 1202 1203 1203 $this->assertContains( "AND user_login = '$user_login'", $q->query_where ); 1204 $this->assert EqualSets( $expected, $found );1204 $this->assertSameSets( $expected, $found ); 1205 1205 } 1206 1206 … … 1223 1223 1224 1224 $this->assertContains( "AND user_login IN ( '$user_login1','$user_login2','$user_login3' )", $q->query_where ); 1225 $this->assert EqualSets( $expected, $found );1225 $this->assertSameSets( $expected, $found ); 1226 1226 } 1227 1227
Note: See TracChangeset
for help on using the changeset viewer.