Removal of temporary exceptions to verify tests are run

This commit is contained in:
Sara Aspery
2022-12-20 00:20:26 +00:00
parent 5e400d76c0
commit 656b6bf9b7
2 changed files with 0 additions and 5 deletions

View File

@@ -81,9 +81,6 @@ public class SearchCasesTest extends AbstractSearchServicesE2ETest
SearchResponse response4 = queryAsUser(testUser, "cm:content:" + newText);
restClient.assertStatusCodeIs(HttpStatus.OK);
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");
}
/**

View File

@@ -52,8 +52,6 @@ public class SearchSimpleCasesTest extends AbstractSearchServicesE2ETest
SearchResponse response = queryAsUser(testUser, "cm:name:pangram");
restClient.assertStatusCodeIs(HttpStatus.OK);
response.assertThat().entriesListIsNotEmpty();
//TODO remove this
throw new IllegalArgumentException("Temporary exception to prove test is run");
}
@Test(priority=2)