Tests for surrogate keys in layergroup anonymous instantiation

This commit is contained in:
Raul Ochoa
2015-07-13 16:54:08 +02:00
parent d6447ef311
commit 9355a5ca24
2 changed files with 26 additions and 16 deletions
+1
View File
@@ -34,6 +34,7 @@ function lzma_compress_to_base64(payload, mode, callback) {
// Throws on failure
function checkNoCache(res) {
assert.ok(!res.headers.hasOwnProperty('x-cache-channel'));
assert.ok(!res.headers.hasOwnProperty('surrogate-key'));
assert.ok(!res.headers.hasOwnProperty('cache-control')); // is this correct ?
assert.ok(!res.headers.hasOwnProperty('last-modified')); // is this correct ?
}