public function testPublishContentTypeDraft($contentTypeHref) { // we need to create a content type draft first since we deleted the previous one in testDeleteContentTypeDraft $contentTypeDraftHref = $this->testCreateContentTypeDraft($contentTypeHref); $response = $this->sendHttpRequest($this->createHttpRequest('PUBLISH', $contentTypeDraftHref)); self::assertHttpResponseCodeEquals($response, 200); }