Skip to content

Commit

Permalink
Fix failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 16, 2014
1 parent bf70f89 commit 0dc7389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bake_compare/Controller/Actions.ctp
Expand Up @@ -79,7 +79,7 @@
*/
public function delete($id = null) {
$bakeArticle = $this->BakeArticles->get($id);
$this->request->allowMethod('post', 'delete');
$this->request->allowMethod(['post', 'delete']);
if ($this->BakeArticles->delete($bakeArticle)) {
$this->Flash->success('The bake article has been deleted.');
} else {
Expand Down

0 comments on commit 0dc7389

Please sign in to comment.