Add unit tests for group validators

This commit is contained in:
Torsten Grote
2016-11-23 18:52:34 -02:00
parent 6ab8219394
commit b37a7531ca
4 changed files with 962 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ class GroupMessageValidator extends BdfMessageValidator {
// content (string)
String content = body.getString(5);
checkLength(content, 0, MAX_GROUP_POST_BODY_LENGTH);
checkLength(content, 1, MAX_GROUP_POST_BODY_LENGTH);
// signature (raw)
// a signature with the member's private key over a list with 7 elements