Changeset 57653 for trunk/tests/phpunit/tests/query/fieldsClause.php
- Timestamp:
- 02/18/2024 06:59:24 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/query/fieldsClause.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/fieldsClause.php
r54890 r57653 63 63 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 64 64 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 65 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );65 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 66 66 67 67 // Test the second query's results match. … … 87 87 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 88 88 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 89 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );89 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 90 90 91 91 // Test the second query's results match. … … 111 111 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 112 112 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 113 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );113 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 114 114 115 115 // Test the second query's results match. … … 146 146 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 147 147 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 148 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );148 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 149 149 150 150 // Test the second query's results match. … … 174 174 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 175 175 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 176 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );176 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 177 177 178 178 // Test the second query's results match. … … 205 205 $this->assertEqualSets( $expected, $q->posts, 'Posts property for first query is not of expected form.' ); 206 206 $this->assertSame( 5, $q->found_posts, 'Number of found posts is not five.' ); 207 $this->assert Equals( 1, $q->max_num_pages, 'Number of found pages is not one.' );207 $this->assertSame( 1, $q->max_num_pages, 'Number of found pages is not one.' ); 208 208 209 209 // Test the second query's results match.
Note: See TracChangeset
for help on using the changeset viewer.