mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2026-03-11 02:55:04 +00:00
Merge pull request #171 from ClaytonWWilson/test-new-lambdas
Test new lambdas
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user