Browse Source

fixed unit test

Fabien Potencier 14 years ago
parent
commit
03ce103b31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Symfony/Tests/Component/HttpFoundation/ResponseTest.php

+ 1 - 1
tests/Symfony/Tests/Component/HttpFoundation/ResponseTest.php

@@ -150,7 +150,7 @@ class ResponseTest extends \PHPUnit_Framework_TestCase
         $response->headers = $headerMock;
 
         // verify first set()
-        $response->sendHeaders();
+        $response->__toString();
 
         $response->headers->remove('Content-Type');
         $response->setCharset('Foo');