1
0
Fork 0

fixed broken agency test

This commit is contained in:
Kaveh Vahedipour 2016-03-31 16:02:44 +02:00
parent 519e4a038f
commit caeafa4113
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ function agencyTestSuite () {
assertEqual(readAndCheck([["a"]]), [{a:12}]);
writeAndCheck([[{"a":13},{"a":12}]]);
assertEqual(readAndCheck([["a"]]), [{a:13}]);
/*var res =*/ writeAgency([[{"a":14},{"a":12}]]);
var res = writeAgency([[{"a":14},{"a":12}]]);
assertEqual(res.statusCode, 412);
//assertEqual(res.bodyParsed, {error:true, successes:[]});
writeAndCheck([[{a:{op:"delete"}}]]);