浏览代码

[RequestHandler] fixed typo

Fabien Potencier 15 年之前
父节点
当前提交
284113e9b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Symfony/Tests/Components/RequestHandler/ResponseTest.php

+ 1 - 1
tests/Symfony/Tests/Components/RequestHandler/ResponseTest.php

@@ -42,7 +42,7 @@ class ResponseTest extends \PHPUnit_Framework_TestCase
     $this->assertEquals(0, $now->diff($response->getDate())->format('%s'), '->getDate() returns the date when the header has been modified');
   }
 
-  public function getMaxAge()
+  public function testGetMaxAge()
   {
     $response = new Response();
     $response->headers->set('Cache-Control', 's-maxage=600, max-age=0');