Add tests for file content API

This commit is contained in:
John Lees-Miller
2016-06-03 16:22:10 +01:00
parent 42d1236063
commit 7cb82f3c18
3 changed files with 89 additions and 0 deletions
@@ -0,0 +1,29 @@
[
{
"project": "testproj",
"getDoc": {
"versionID": 1,
"createdAt": "2014-11-30T18:40:58.123Z",
"email": "test1@example.com",
"name": "John+1"
},
"getSavedVers": [],
"getForVers": [
{
"versionID": 1,
"srcs": [
{
"content": "content\n",
"path": "main.tex"
}
],
"atts": []
}
],
"push": "success",
"postback": {
"type": "success",
"versionID": 1
}
}
]