| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class APITest extends Test_Case { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var WP_REST_Server; |
||
| 18 | */ |
||
| 19 | protected $server; |
||
| 20 | |||
| 21 | public function setUp() { |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Assert that REST API namespace for the plugin exists. |
||
| 29 | */ |
||
| 30 | public function test_rest_api_plugin_namespace_exists() { |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Assert that WordPress version endpoint exists. |
||
| 38 | */ |
||
| 39 | public function test_wp_version_endpoint_exists() { |
||
| 45 |