audit: fix failing test

This commit is contained in:
Mitchell Hashimoto 2015-04-21 16:15:04 +01:00
parent 82252c0d34
commit 7edc41b6da
1 changed files with 1 additions and 1 deletions

View File

@ -38,5 +38,5 @@ func TestFormatJSON_formatRequest(t *testing.T) {
}
}
const testFormatJSONReqBasicStr = `{"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":null}}
`