Changeset 51454 for trunk/tests/phpunit/tests/rest-api/rest-controller.php
- Timestamp:
- 07/18/2021 02:10:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-controller.php
r51453 r51454 514 514 $first_call_count = $listener->get_call_count( $method ); 515 515 516 $this->assert True( $first_call_count > 0);516 $this->assertGreaterThan( 0, $first_call_count ); 517 517 518 518 $request->set_param( '_fields', 'somestring' ); … … 526 526 $controller->prepare_item_for_response( $item, $request ); 527 527 528 $this->assert True( $listener->get_call_count( $method ) > $first_call_count);528 $this->assertGreaterThan( $first_call_count, $listener->get_call_count( $method ) ); 529 529 } 530 530
Note: See TracChangeset
for help on using the changeset viewer.