Skip to content

Commit 42b4a3f

Browse files
Implement additional tests for ARI renewal checks
1 parent e694c87 commit 42b4a3f

File tree

3 files changed

+281
-128
lines changed

3 files changed

+281
-128
lines changed

src/Certify.Core/Management/CertifyManager/CertifyManager.Account.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public partial class CertifyManager
2828
/// </summary>
2929
/// <param name="managedItem"></param>
3030
/// <returns></returns>
31-
public async Task<IACMEClientProvider> GetACMEProvider(ManagedCertificate managedItem, AccountDetails caAccount)
31+
public virtual async Task<IACMEClientProvider> GetACMEProvider(ManagedCertificate managedItem, AccountDetails caAccount)
3232
{
3333
// determine account to use for the given managed cert
3434

@@ -106,7 +106,7 @@ private async Task<IACMEClientProvider> GetACMEProvider(string storageKey, strin
106106
/// <param name="allowCache">if true, allow use of cached account list</param>
107107
/// <param name="allowFailover">if true, select a fallback CA account if item has recently failed renewal, if false use same account as last renewal/attempt</param>
108108
/// <returns>Account Details or null if there is no matching account</returns>
109-
public async Task<AccountDetails> GetAccountDetails(ManagedCertificate item, bool allowCache = true, bool allowFailover = false, bool isResumedOrder = false)
109+
public virtual async Task<AccountDetails> GetAccountDetails(ManagedCertificate item, bool allowCache = true, bool allowFailover = false, bool isResumedOrder = false)
110110
{
111111
if (OverrideAccountDetails != null)
112112
{

0 commit comments

Comments
 (0)