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:
@@ -65,7 +65,7 @@ public class RestDemoTest extends RestTest
|
||||
* @throws JsonToModelConversionException
|
||||
*/
|
||||
@Test
|
||||
public void commentsTest() throws JsonToModelConversionException
|
||||
public void commentsTest() throws JsonToModelConversionException, Exception
|
||||
{
|
||||
Document document = dataContent.usingPath("Shared")
|
||||
.usingUser(userModel)
|
||||
@@ -97,7 +97,7 @@ public class RestDemoTest extends RestTest
|
||||
* @throws JsonToModelConversionException
|
||||
*/
|
||||
@Test
|
||||
public void siteMembersTest() throws DataPreparationException, JsonToModelConversionException
|
||||
public void siteMembersTest() throws DataPreparationException, JsonToModelConversionException, Exception
|
||||
{
|
||||
UserModel newUser = dataUser.createRandomTestUser();
|
||||
SiteMember siteMember = new SiteMember(Role.SiteConsumer.toString(), newUser.getUsername());
|
||||
|
Reference in New Issue
Block a user