Merge pull request #171 from ClaytonWWilson/test-new-lambdas

Test new lambdas
This commit is contained in:
Adam Ding
2020-12-04 12:26:04 -05:00
committed by GitHub
12 changed files with 74 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ public class TestPictureGetter {
@Test
public void testPictureGetterValid() {
testPictureGetter(false);
testPictureGetter(true);
}
@Test
@@ -35,7 +35,7 @@ public class TestPictureGetter {
try {
Object rawIDReturn = pictureGetter.conductAction(body, TestInputUtils.addQueryParams(ignore), "cognitoID");
assert (rawIDReturn != null);
} catch (SQLException throwables) {
} catch (SQLException | IllegalArgumentException throwables) {
assert shouldThrow;
throwables.printStackTrace();
}