Commit 6e90caa
authored
Refactor CA unittests to focus on top-level IssueCertificate (#8422)
Rewrite the vast majority of the CA unittests so that they test the
exported functions (NewCertificateAuthorityImpl and IssueCertificate)
rather than the non-exported helper functions (issuePrecertificate and
issueCertificateForPrecertificate). This makes the tests more robust to
future refactoring of the CA code itself, and will increase confidence
in the correctness of those refactors.
Part of #83901 parent 9874dcc commit 6e90caa
4 files changed
+605
-696
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments