Created
October 7, 2015 22:59
Revisions
-
neclimdul created this gist
Oct 7, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ <?php class SecuredRedirectResponseTest extends UnitTestCase { public function testHeaderBag() { $headers = ['test']; $bag1 = new ResponseHeaderBag($headers); $bag2 = new ResponseHeaderBag($bag1->allPreserveCase()); $this->assertEquals($bag1->allPreserveCase(), $bag2->allPreserveCase()); } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ 1) Drupal\Tests\Core\Routing\SecuredRedirectResponseTest::testHeaderBag Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => Array (...) 'Cache-Control' => Array ( - 0 => 'no-cache' + 0 => 'no-cache, private' ) )