Changeset 57653
- Timestamp:
- 02/18/2024 06:59:24 PM (14 months ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/query.php
r56747 r57653 3989 3989 3990 3990 $this->assertSame( 3, $q->found_comments ); 3991 $this->assert Equals( 2, $q->max_num_pages );3991 $this->assertSame( 2, $q->max_num_pages ); 3992 3992 } 3993 3993 … … 4018 4018 4019 4019 $this->assertSame( 3, $q->found_comments ); 4020 $this->assert Equals( 2, $q->max_num_pages );4020 $this->assertSame( 2, $q->max_num_pages ); 4021 4021 } 4022 4022 -
trunk/tests/phpunit/tests/post/query.php
r56513 r57653 632 632 633 633 $this->assertSame( 2, $q->found_posts ); 634 $this->assert Equals( 2, $q->max_num_pages );634 $this->assertSame( 2, $q->max_num_pages ); 635 635 } 636 636 … … 655 655 656 656 $this->assertSame( 2, $q->found_posts ); 657 $this->assert Equals( 2, $q->max_num_pages );657 $this->assertSame( 2, $q->max_num_pages ); 658 658 } 659 659 … … 681 681 682 682 $this->assertSame( 2, $q->found_posts ); 683 $this->assert Equals( 2, $q->max_num_pages );683 $this->assertSame( 2, $q->max_num_pages ); 684 684 } 685 685 … … 708 708 709 709 $this->assertSame( 2, $q->found_posts ); 710 $this->assert Equals( 2, $q->max_num_pages );710 $this->assertSame( 2, $q->max_num_pages ); 711 711 } 712 712 -
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.