mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-28 06:34:14 +01:00
⬆️ Upgrading dependencies
This commit is contained in:
@@ -859,6 +859,7 @@ class HttpCacheTest extends HttpCacheTestCase
|
||||
public function testValidatesCachedResponsesWithETagAndNoFreshnessInformation()
|
||||
{
|
||||
$this->setNextResponse(200, [], 'Hello World', function ($request, $response) {
|
||||
$this->assertFalse($request->headers->has('If-Modified-Since'));
|
||||
$response->headers->set('Cache-Control', 'public');
|
||||
$response->headers->set('ETag', '"12345"');
|
||||
if ($response->getETag() == $request->headers->get('IF_NONE_MATCH')) {
|
||||
|
||||
Reference in New Issue
Block a user