mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-10-01 14:41:19 +00:00
Removal of temporary exceptions to verify tests are run
This commit is contained in:
@@ -81,9 +81,6 @@ public class SearchCasesTest extends AbstractSearchServicesE2ETest
|
|||||||
SearchResponse response4 = queryAsUser(testUser, "cm:content:" + newText);
|
SearchResponse response4 = queryAsUser(testUser, "cm:content:" + newText);
|
||||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||||
Assert.assertEquals(response4.getEntries().size(), 1, "Expected 1 new text before update");
|
Assert.assertEquals(response4.getEntries().size(), 1, "Expected 1 new text before update");
|
||||||
|
|
||||||
//TODO remove this
|
|
||||||
throw new IllegalArgumentException("Temporary exception to prove test is run");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -52,8 +52,6 @@ public class SearchSimpleCasesTest extends AbstractSearchServicesE2ETest
|
|||||||
SearchResponse response = queryAsUser(testUser, "cm:name:pangram");
|
SearchResponse response = queryAsUser(testUser, "cm:name:pangram");
|
||||||
restClient.assertStatusCodeIs(HttpStatus.OK);
|
restClient.assertStatusCodeIs(HttpStatus.OK);
|
||||||
response.assertThat().entriesListIsNotEmpty();
|
response.assertThat().entriesListIsNotEmpty();
|
||||||
//TODO remove this
|
|
||||||
throw new IllegalArgumentException("Temporary exception to prove test is run");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(priority=2)
|
@Test(priority=2)
|
||||||
|
Reference in New Issue
Block a user