File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ public function testWriteStoresTheResponseContent()
177177 $ this ->assertTrue ($ this ->getCache ()->hasItem ($ contentDigest ), 'Response content is stored in cache. ' );
178178 $ this ->assertSame ($ response ->getContent (), $ this ->getCache ()->getItem ($ contentDigest )->get (), 'Response content is stored in cache. ' );
179179 $ this ->assertSame ($ contentDigest , $ response ->headers ->get ('X-Content-Digest ' ), 'Content digest is stored in the response header. ' );
180- $ this ->assertSame (\strlen ($ response ->getContent ()), $ response ->headers ->get ('Content-Length ' ), 'Response content length is updated. ' );
180+ $ this ->assertSame (\strlen ($ response ->getContent ()), ( int ) $ response ->headers ->get ('Content-Length ' ), 'Response content length is updated. ' );
181181 }
182182
183183 public function testWriteDoesNotStoreTheResponseContentOfNonOriginalResponse ()
You can’t perform that action at this time.
0 commit comments