Commit a603f09
committed
test(handler): stub CrlRevocationChecker::validate() in AEngineHandlerTest
The mock returned null by default, causing AEngineHandler to access
$crlDetails['status'] on a null value and trigger a PHP warning.
Stubbing validate() to return ['status' => CrlValidationStatus::VALID]
fulfils the contract and silences the warning.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 067832f commit a603f09
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments