TAS-387 Add support for JSON schema validation

This commit is contained in:
Valentin Popa
2016-09-02 10:47:16 +03:00
parent da16d2c241
commit d341d02aee
4 changed files with 14 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ public class SampleCommentsTest extends RestTest
}
@Test
public void addComments() throws JsonToModelConversionException
public void addComments() throws JsonToModelConversionException, Exception
{
commentsAPI.addComment(document.getId(), "This is a new comment");
commentsAPI.usingRestWrapper()
@@ -52,7 +52,7 @@ public class SampleCommentsTest extends RestTest
}
@Test
public void updateComment() throws JsonToModelConversionException
public void updateComment() throws JsonToModelConversionException, Exception
{
// add initial comment
String commentId = commentsAPI.addComment(document.getId(), "This is a new comment").getId();