Skip to content

Commit ad9c08d

Browse files
committed
Fix invalid use of arguments to getResponse in UserContextTestCase.php
1 parent a6a0174 commit ad9c08d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Functional/Varnish/UserContextTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ public function testUserContextHash()
5252
$this->assertContextCache($cachedResponse2->getHeaderLine('X-HashCache'));
5353
$this->assertHit($cachedResponse2);
5454

55-
$headResponse1 = $this->getResponse('/user_context.php', ['Cookie' => ['0=foo'], [], 'HEAD']);
55+
$headResponse1 = $this->getResponse('/user_context.php', ['Cookie' => ['0=foo']], 'HEAD');
5656
$this->assertEquals('foo', $headResponse1->getHeaderLine('X-HashTest'));
5757
$this->assertContextCache($headResponse1->getHeaderLine('X-HashCache'));
5858
$this->assertHit($headResponse1);
5959

60-
$headResponse2 = $this->getResponse('/user_context.php', ['Cookie' => ['0=bar'], [], 'HEAD']);
60+
$headResponse2 = $this->getResponse('/user_context.php', ['Cookie' => ['0=bar']], 'HEAD');
6161
$this->assertEquals('bar', $headResponse2->getHeaderLine('X-HashTest'));
6262
$this->assertContextCache($headResponse2->getHeaderLine('X-HashCache'));
6363
$this->assertHit($headResponse2);

0 commit comments

Comments
 (0)