Skip to content

Commit

Permalink
issue #467: correct UT
Browse files Browse the repository at this point in the history
  • Loading branch information
bhecquet committed Nov 29, 2021
1 parent 3863efb commit 884e6a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void testDetectErrorOk() throws IOException {
FieldDetectorConnector fieldDetectorConnector = new FieldDetectorConnector("http://localhost:4321");
List<JSONObject> fields = fieldDetectorConnector.detectError(image).getJSONArray("fields").toList();

Assert.assertEquals(fields.size(), 2);
Assert.assertEquals(fields.size(), 1);
}

@Test(groups={"ut"}, expectedExceptions = ScenarioException.class, expectedExceptionsMessageRegExp = "Field detector returned error: some error occured")
Expand Down

0 comments on commit 884e6a6

Please sign in to comment.