Also: - Use MockCA in the RA test instead of a real CA. - Since the mock CA doesn't write to an SA, remove a part of the RA test that checked that the certificate was written. That code is already tested in the CA, where the test belongs. - Format the constants in RA test to be more copy-and-pasteable. - Remove Printf in mocks/log.go and test/db.go to make failed test output more readable. |
||
|---|---|---|
| .. | ||
| ca.go | ||
| log.go | ||
| mocks.go | ||