Changeset 45607 for trunk/tests/phpunit/tests/term/getTerms.php
- Timestamp:
- 07/08/2019 12:55:20 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/getTerms.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTerms.php
r43571 r45607 2475 2475 2476 2476 foreach ( $found as $f ) { 2477 if ( $t1 == $f->term_id ) {2477 if ( $t1 === $f->term_id ) { 2478 2478 $this->assertSame( 3, $f->count ); 2479 } elseif ( $t2 == $f->term_id ) {2479 } elseif ( $t2 === $f->term_id ) { 2480 2480 $this->assertSame( 2, $f->count ); 2481 2481 } else { … … 2548 2548 2549 2549 foreach ( $found as $f ) { 2550 if ( $t1 == $f->term_id ) {2550 if ( $t1 === $f->term_id ) { 2551 2551 $this->assertEquals( 1, $f->count ); 2552 } elseif ( $t2 == $f->term_id ) {2552 } elseif ( $t2 === $f->term_id ) { 2553 2553 $this->assertEquals( 2, $f->count ); 2554 2554 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)