Skip to content

Commit eb04554

Browse files
committed
Test should now pass.
1 parent 72cffd8 commit eb04554

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/WatchlistTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ public void badCandidateCreationTest() throws ParseException {
6565
BlockscoreApiClient apiClient = setupBlockscoreApiClient();
6666

6767
try {
68-
//Open issue for this: https://github.com/BlockScore/blockscore-api/issues/332
69-
//This should return an error, but instead allows it through. This code should be updated once the bug
70-
//is fixed.
7168
WatchlistCandidate candidate = apiClient.createWatchlistCandidate(createBadTestCandidate()).toBlocking()
7269
.first();
7370
isCandidateValid(candidate);
@@ -76,7 +73,7 @@ public void badCandidateCreationTest() throws ParseException {
7673
Assert.assertNotNull(e.getInvalidParam());
7774
exception = e;
7875
}
79-
Assert.assertNotNull(exception); //Uncomment this once the issue is resolved to confirm the code works.
76+
Assert.assertNotNull(exception);
8077
}
8178

8279
@Test

0 commit comments

Comments
 (0)