Commit 1ebb445
committed
test(handler): stub CrlRevocationChecker::validate() in OpenSslHandlerTest
Same root cause as AEngineHandlerTest: the CrlRevocationChecker mock
returned null, causing 7 tests to trigger "Undefined array key 'status'"
warnings in AEngineHandler::addCrlValidationInfo().
Stubbing validate() to return ['status' => CrlValidationStatus::VALID]
satisfies the return-type contract and eliminates the warnings.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent a603f09 commit 1ebb445
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 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments