- Timestamp:
- 10/26/2016 02:28:13 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php
r38834 r38942 93 93 $this->assertEquals( 'Season 5', $data[0]['name'] ); 94 94 $this->assertEquals( 'The Be Sharps', $data[1]['name'] ); 95 96 // Confirm the empty category "Uncategorized" category appears. 97 $request->set_param( 'hide_empty', 'false' ); 98 $response = $this->server->dispatch( $request ); 99 $data = $response->get_data(); 100 $this->assertEquals( 3, count( $data ) ); 95 101 } 96 102
Note: See TracChangeset
for help on using the changeset viewer.