File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020jobs :
2121 test :
22- name : Run Code Samples
22+ name : Run Smoke Tests
2323 timeout-minutes : 30
2424 strategy :
2525 max-parallel : 2
Original file line number Diff line number Diff line change 55 - cron : ' 42 0 * * *'
66
77jobs :
8- test-code-samples :
8+ smoke-test :
99 uses : mindee/mindee-api-php/.github/workflows/_test-smoke.yml@main
1010 secrets : inherit
Original file line number Diff line number Diff line change 2121 uses : ./.github/workflows/_test-integrations.yml
2222 needs : test-units
2323 secrets : inherit
24- test-code-samples :
24+ smoke-test :
2525 uses : ./.github/workflows/_test-smoke.yml
2626 needs : test-units
2727 secrets : inherit
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ private function documentEnqueuePost(
401401 }
402402 if (isset ($ params ->webhooksIds ) && count ($ params ->webhooksIds ) > 0 ) {
403403 if (PHP_VERSION_ID < 80200 && count ($ params ->webhooksIds ) > 1 ) {
404- # NOTE: see https://bugs.php.net/bug.php?id=51634
404+ // NOTE: see https://bugs.php.net/bug.php?id=51634
405405 error_log ("PHP version is too low to support webbook array destructuring.
406406 \nOnly the first webhook ID will be sent to the server. " );
407407 $ postFields ['webhook_ids ' ] = $ params ->webhooksIds [0 ];
Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ public function testOcrDefaultSampleMustSucceed(): void
5252 $ this ->assertNotNull ($ pages );
5353 $ this ->assertCount (1 , $ pages );
5454 }
55- }
55+ }
Original file line number Diff line number Diff line change @@ -31,9 +31,8 @@ protected function setUp(): void
3131 */
3232 public function testSplitDefaultSampleMustSucceed (): void
3333 {
34- // Matched exactly to the C# Constants.V2RootDir pathing
3534 $ inputSource = new PathInput (
36- TestingUtilities::getV2RootDir () . '/products/split/default_sample.pdf '
35+ TestingUtilities::getV2ProductDir () . '/products/split/default_sample.pdf '
3736 );
3837
3938 $ productParams = new SplitParameters ($ this ->splitModelId );
You can’t perform that action at this time.
0 commit comments