Changeset 34879 for trunk/tests/phpunit/tests/ajax/DeleteComment.php
- Timestamp:
- 10/06/2015 07:55:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DeleteComment.php
r25002 r34879 102 102 103 103 // Check for either possible total 104 $this->assertTrue( in_array( (int) $xml->response[0]->comment[0]->supplemental[0]->total[0] , array( $total, $recalc_total ) ) ); 104 $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 ); 105 $this->assertTrue( in_array( (int) $xml->response[0]->comment[0]->supplemental[0]->total[0] , array( $total, $recalc_total ) ), $message ); 105 106 } 106 107
Note: See TracChangeset
for help on using the changeset viewer.