File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/DOMPDFModuleTest/View/Strategy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function testContentTypeResponseHeader()
5050
5151 $ this ->strategy ->injectResponse ($ this ->event );
5252
53- $ headers = $ this ->event ->getResponse ()->headers ();
53+ $ headers = $ this ->event ->getResponse ()->getHeaders ();
5454 $ contentTypeHeader = $ headers ->get ('content-type ' );
5555
5656 $ this ->assertInstanceof ('Zend\Http\Header\ContentType ' , $ contentTypeHeader );
@@ -70,7 +70,7 @@ public function testResponseHeadersWithFileName()
7070
7171 $ this ->strategy ->injectResponse ($ this ->event );
7272
73- $ headers = $ this ->event ->getResponse ()->headers ();
73+ $ headers = $ this ->event ->getResponse ()->getHeaders ();
7474 $ contentDispositionHeader = $ headers ->get ('Content-Disposition ' );
7575
7676 $ this ->assertInstanceof ('Zend\Http\Header\ContentDisposition ' , $ contentDispositionHeader );
You can’t perform that action at this time.
0 commit comments