Skip to content

Commit

Permalink
Rename to ContentLengthMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
akrabat committed Aug 15, 2017
1 parent 54db772 commit dce758e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Psr\Http\Message\ResponseInterface;
use Slim\Http\Body;

class ContentLength
class ContentLengthMiddleware
{
/**
* Invoke
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
use Slim\Http\Request;
use Slim\Http\Response;
use Slim\Http\Uri;
use Slim\Middleware\ContentLength;
use Slim\Middleware\ContentLengthMiddleware;

class ContentLengthTest extends TestCase
class ContentLengthMiddlewareTest extends TestCase
{
public function testAddsContentLenght()
{
$mw = new ContentLength('append');
$mw = new ContentLengthMiddleware('append');

$uri = Uri::createFromString('https://example.com:443/foo/bar?abc=123');
$headers = new Headers();
Expand Down

0 comments on commit dce758e

Please sign in to comment.