mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-01 14:41:19 +00:00
TAS-387 Add support for JSON schema validation
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user