Skip to content
Permalink
Browse files

Asserting method of request

  • Loading branch information...
cjquinn committed Oct 10, 2016
1 parent a16aa45 commit f592349923cd708becbeefa300c46b126982065d
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Routing/Middleware/RoutingMiddlewareTest.php
@@ -165,6 +165,7 @@ public function testFakedRequestMethodParsed()
'_matchedRoute' => '/articles-patch'
];
$this->assertEquals($expected, $req->getAttribute('params'));
$this->assertEquals('PATCH', $req->getMethod());
};
$middleware = new RoutingMiddleware();
$middleware($request, $response, $next);

0 comments on commit f592349

Please sign in to comment.
You can’t perform that action at this time.