use assert.equal instead of assert.ok
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ describe('get requests with cache headers', function() {
|
||||
|
||||
assert.ok(res.headers['x-cache-channel']);
|
||||
assert.ok(res.headers['surrogate-key']);
|
||||
assert.ok(res.headers.vary === 'Authorization');
|
||||
assert.equal(res.headers.vary, 'Authorization');
|
||||
if (expectedCacheHeaders) {
|
||||
validateXChannelHeaders(res.headers, expectedCacheHeaders);
|
||||
assert.equal(res.headers['surrogate-key'], expectedCacheHeaders.surrogate_keys);
|
||||
|
||||
Reference in New Issue
Block a user