Browse Source

Fix exporter double quotes assert on tests (#3002)

Sullivan SENECHAL 10 years ago
parent
commit
e6826bea5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/Export/ExporterTest.php

+ 1 - 1
Tests/Export/ExporterTest.php

@@ -43,7 +43,7 @@ class ExporterTest extends \PHPUnit_Framework_TestCase
 
         $this->assertInstanceOf('Symfony\Component\HttpFoundation\Response', $response);
         $this->assertEquals($contentType, $response->headers->get('Content-Type'));
-        $this->assertEquals('attachment; filename='.$filename, $response->headers->get('Content-Disposition'));
+        $this->assertEquals('attachment; filename="'.$filename.'"', $response->headers->get('Content-Disposition'));
     }
 
     public function getGetResponseTests()