Changeset 51404 for trunk/tests/phpunit/tests/ajax/DeleteComment.php
- Timestamp:
- 07/12/2021 10:35:44 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DeleteComment.php
r49603 r51404 109 109 // Check for either possible total. 110 110 $message = sprintf( 'returned value: %1$d $total: %2$d $recalc_total: %3$d', (int) $xml->response[0]->comment[0]->supplemental[0]->total[0], $total, $recalc_total ); 111 $this->assert True( in_array( (int) $xml->response[0]->comment[0]->supplemental[0]->total[0], array( $total, $recalc_total ), true), $message );111 $this->assertContains( (int) $xml->response[0]->comment[0]->supplemental[0]->total[0], array( $total, $recalc_total ), $message ); 112 112 } 113 113
Note: See TracChangeset
for help on using the changeset viewer.