Replace "mocks.StorageAuthority" with "sapb.StorageAuthorityClient" in our test mocks. The improves them by removing implementations of the methods the tests don't actually need, instead of inheriting lots of extraneous methods from the huge and cumbersome mocks.StorageAuthority. This reduces our usage of mocks.StorageAuthority to only the WFE tests (which create one in the frequently-used setup() function), which will make refactoring those mocks in the pursuit of https://github.com/letsencrypt/boulder/issues/7476 much easier. Part of https://github.com/letsencrypt/boulder/issues/7476 |
||
---|---|---|
.. | ||
checked_redis_source.go | ||
checked_redis_source_test.go | ||
redis_source.go | ||
redis_source_test.go |