Fix build

This commit is contained in:
Romain Neutron
2012-01-26 19:12:51 +01:00
parent defb77b314
commit b299e7d042
15 changed files with 84 additions and 61 deletions

View File

@@ -207,7 +207,7 @@ class ControllerUsersTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
$this->client->request('POST', '/users/search/export/');
$response = $this->client->getResponse();
$this->assertTrue($response->isOK());
$this->assertRegexp("#text/plain#", $response->headers->get("content-type"));
$this->assertEquals("text/plain; charset=UTF-8", $response->headers->get("Content-type"));
$this->assertEquals("attachment; filename=export.txt", $response->headers->get("content-disposition"));
}