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
9
9
*
10
10
* @var array<string, int>
11
11
*/
12
- public $ idDocumentTextDataExtraction ;
12
+ public $ ID_DOCUMENT_TEXT_DATA_EXTRACTION ;
13
13
14
14
/**
15
15
* @param array<string, int> $idDocumentTextDataExtraction
16
16
*/
17
17
public function __construct (array $ idDocumentTextDataExtraction )
18
18
{
19
- $ this ->idDocumentTextDataExtraction = $ idDocumentTextDataExtraction ;
19
+ $ this ->ID_DOCUMENT_TEXT_DATA_EXTRACTION = $ idDocumentTextDataExtraction ;
20
20
}
21
21
22
22
/**
23
23
* @return array<string, int>
24
24
*/
25
25
public function getIdDocumentTextDataExtraction (): array
26
26
{
27
- return $ this ->idDocumentTextDataExtraction ;
27
+ return $ this ->ID_DOCUMENT_TEXT_DATA_EXTRACTION ;
28
28
}
29
29
}
Original file line number Diff line number Diff line change @@ -226,6 +226,10 @@ public function attemptsConfigurationShouldResetSameValueWithRepeatedCalls(): vo
226
226
227
227
$ this ->assertCount (1 , $ sdkConfig ->getAttemptsConfiguration ()->getIdDocumentTextDataExtraction ());
228
228
$ this ->assertEquals ($ data , $ sdkConfig ->getAttemptsConfiguration ()->getIdDocumentTextDataExtraction ());
229
+ $ this ->assertArrayHasKey (
230
+ Constants::ID_DOCUMENT_TEXT_DATA_EXTRACTION ,
231
+ (array )$ sdkConfig ->getAttemptsConfiguration ()
232
+ );
229
233
}
230
234
231
235
/**
You can’t perform that action at this time.
0 commit comments