audit: hash all the req/resp structures

This commit is contained in:
Mitchell Hashimoto
2015-04-21 16:20:31 +01:00
parent 7860e95a93
commit 628d6e4e7a
2 changed files with 46 additions and 5 deletions

View File

@@ -38,5 +38,5 @@ func TestFormatJSON_formatRequest(t *testing.T) {
}
}
const testFormatJSONReqBasicStr = `{"type":"request","auth":{"policies":["root"],"metadata":null},"request":{"operation":"write","path":"/foo","data":null}}
const testFormatJSONReqBasicStr = `{"type":"request","auth":{"policies":["root"],"metadata":null},"request":{"operation":"write","path":"/foo","data":{}}}
`