Skip to content

Commit

Permalink
add patch method to schema api test
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Dec 28, 2015
1 parent d113802 commit 72ae1cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/PSX/Controller/Tool/DocumentationControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public function testIndex()
"GET",
"POST",
"PUT",
"DELETE"
"DELETE",
"PATCH"
],
"version": "*"
}
Expand Down Expand Up @@ -265,7 +266,7 @@ protected function getPaths()
return array(
[['GET'], '/doc', 'PSX\Controller\Tool\DocumentationController::doIndex'],
[['GET'], '/doc/:version/*path', 'PSX\Controller\Tool\DocumentationController::doDetail'],
[['GET', 'POST', 'PUT', 'DELETE'], '/api', 'PSX\Controller\Foo\Application\TestSchemaApiController'],
[['GET', 'POST', 'PUT', 'DELETE', 'PATCH'], '/api', 'PSX\Controller\Foo\Application\TestSchemaApiController'],
);
}
}

0 comments on commit 72ae1cb

Please sign in to comment.