File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/textkernel/tx/integration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public void testLargeDocumentParse() {
6666 Client .parseResume (new ParseRequest (new Document (new byte [40_000_000 ], LocalDate .now ()), null ));
6767 });
6868
69- String expected = "Request body too large. " ;
69+ String expected = "Request body was too large" ;
7070 assertEquals (expected , e .getMessage ().substring (0 , expected .length ()));
7171 }
7272
@@ -614,7 +614,7 @@ public void TestProfessionNormalization() throws Exception {
614614 assertNotNull (response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .ISCO );
615615 assertNotNull (response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .ONET );
616616 assertNotNull (response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .ONET .Version );
617- assertEquals ("2010 " , response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .ONET .Version );
617+ assertEquals ("2019 " , response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .ONET .Version );
618618 assertNotEquals (0 , response .Value .ResumeData .EmploymentHistory .Positions .get (0 ).NormalizedProfession .Confidence );
619619
620620 assertNotNull (response .Value .ResumeData .EmploymentHistory .Positions .get (1 ).NormalizedProfession );
You can’t perform that action at this time.
0 commit comments