File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3535 WORKFLOW_ID : ${{ secrets.WORKFLOW_ID_SE_TESTS }}
3636 MINDEE_V2_API_KEY : ${{ secrets.MINDEE_V2_SE_TESTS_API_KEY }}
3737 MINDEE_V2_FINDOC_MODEL_ID : ${{ secrets.MINDEE_V2_SE_TESTS_FINDOC_MODEL_ID }}
38+ MINDEE_V2_SE_TESTS_BLANK_PDF_URL : ${{ secrets.MINDEE_V2_SE_TESTS_BLANK_PDF_URL }}
3839 run : |
3940 mvn clean test-compile failsafe:integration-test failsafe:verify
Original file line number Diff line number Diff line change @@ -145,9 +145,7 @@ void invalidJob_mustThrowError() {
145145 @ Test
146146 @ DisplayName ("URL input source - A url param should not raise errors." )
147147 void urlInputSource_mustNotRaiseErrors () throws IOException , InterruptedException {
148- URLInputSource urlSource = URLInputSource .builder (
149- "https://upload.wikimedia.org/wikipedia/commons/1/1d/Blank_Page.pdf"
150- ).build ();
148+ URLInputSource urlSource = URLInputSource .builder (System .getenv ("MINDEE_V2_SE_TESTS_BLANK_PDF_URL" )).build ();
151149
152150 InferenceParameters options = InferenceParameters
153151 .builder (modelId )
You can’t perform that action at this time.
0 commit comments