Pārlūkot izejas kodu

Fix exporter double quotes assert on tests (#3002)

Sullivan SENECHAL 10 gadi atpakaļ
vecāks
revīzija
e6826bea5e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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->assertInstanceOf('Symfony\Component\HttpFoundation\Response', $response);
         $this->assertEquals($contentType, $response->headers->get('Content-Type'));
         $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()
     public function getGetResponseTests()