Skip to content
Permalink
Browse files

Update push() to addd() in test app.

  • Loading branch information...
ADmad committed Jul 25, 2016
1 parent f492ddb commit 3c3bbbe2937079c06a2bd246201ede818603e2eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/test_app/TestApp/Application.php
@@ -33,8 +33,8 @@ public function bootstrap()
public function middleware($middleware)
{
$middleware->push(new RoutingMiddleware());
$middleware->push(function ($req, $res, $next) {
$middleware->add(new RoutingMiddleware());
$middleware->add(function ($req, $res, $next) {
$res = $next($req, $res);
return $res->withHeader('X-Middleware', 'true');

0 comments on commit 3c3bbbe

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