please jshint
This commit is contained in:
parent
8d22ca66ba
commit
0185cdf785
2
test/acceptance/cache/cache_headers.js
vendored
2
test/acceptance/cache/cache_headers.js
vendored
@ -155,7 +155,7 @@ describe('get requests with cache headers', function() {
|
|||||||
|
|
||||||
assert.ok(res.headers['x-cache-channel']);
|
assert.ok(res.headers['x-cache-channel']);
|
||||||
assert.ok(res.headers['surrogate-key']);
|
assert.ok(res.headers['surrogate-key']);
|
||||||
assert.ok(res.headers['vary'] === 'Authorization');
|
assert.ok(res.headers.vary === 'Authorization');
|
||||||
if (expectedCacheHeaders) {
|
if (expectedCacheHeaders) {
|
||||||
validateXChannelHeaders(res.headers, expectedCacheHeaders);
|
validateXChannelHeaders(res.headers, expectedCacheHeaders);
|
||||||
assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys);
|
assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys);
|
||||||
|
Loading…
Reference in New Issue
Block a user