diff --git a/tests/unit/API/JSON/v1/AutomatedLatestContentTest.php b/tests/unit/API/JSON/v1/AutomatedLatestContentTest.php new file mode 100644 index 0000000000..73924f780a --- /dev/null +++ b/tests/unit/API/JSON/v1/AutomatedLatestContentTest.php @@ -0,0 +1,18 @@ +getPostTypes(); + expect($response->data)->notEmpty(); + foreach($response->data as $post_type) { + expect($post_type)->count(2); + expect($post_type['name'])->notEmpty(); + expect($post_type['label'])->notEmpty(); + } + } +}