Changeset 45607 for trunk/tests/phpunit/tests/xmlrpc/wp/getTerms.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getTerms.php
r42343 r45607 122 122 123 123 foreach ( $results as $term ) { 124 if ( $term['term_id'] == $cat1 ) {124 if ( $term['term_id'] === $cat1 ) { 125 125 break; // found cat1 first as expected 126 } elseif ( $term['term_id'] == $cat2 ) {126 } elseif ( $term['term_id'] === $cat2 ) { 127 127 $this->assertFalse( false, 'Incorrect category ordering.' ); 128 128 }
Note: See TracChangeset
for help on using the changeset viewer.