File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/DocScan/Session/Create
tests/DocScan/Session/Create Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,21 @@ class AttemptsConfiguration
99 *
1010 * @var array<string, int>
1111 */
12- public $ idDocumentTextDataExtraction ;
12+ public $ ID_DOCUMENT_TEXT_DATA_EXTRACTION ;
1313
1414 /**
1515 * @param array<string, int> $idDocumentTextDataExtraction
1616 */
1717 public function __construct (array $ idDocumentTextDataExtraction )
1818 {
19- $ this ->idDocumentTextDataExtraction = $ idDocumentTextDataExtraction ;
19+ $ this ->ID_DOCUMENT_TEXT_DATA_EXTRACTION = $ idDocumentTextDataExtraction ;
2020 }
2121
2222 /**
2323 * @return array<string, int>
2424 */
2525 public function getIdDocumentTextDataExtraction (): array
2626 {
27- return $ this ->idDocumentTextDataExtraction ;
27+ return $ this ->ID_DOCUMENT_TEXT_DATA_EXTRACTION ;
2828 }
2929}
Original file line number Diff line number Diff line change @@ -226,6 +226,10 @@ public function attemptsConfigurationShouldResetSameValueWithRepeatedCalls(): vo
226226
227227 $ this ->assertCount (1 , $ sdkConfig ->getAttemptsConfiguration ()->getIdDocumentTextDataExtraction ());
228228 $ this ->assertEquals ($ data , $ sdkConfig ->getAttemptsConfiguration ()->getIdDocumentTextDataExtraction ());
229+ $ this ->assertArrayHasKey (
230+ Constants::ID_DOCUMENT_TEXT_DATA_EXTRACTION ,
231+ (array )$ sdkConfig ->getAttemptsConfiguration ()
232+ );
229233 }
230234
231235 /**
You can’t perform that action at this time.
0 commit comments