Skip to content

Commit 2a54616

Browse files
Fix the UTs
1 parent b9f14a9 commit 2a54616

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

tests/SimpleIdServer.IdServer.Host.Acceptance.Tests/FormBuilderConfiguration.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public class FormBuilderConfiguration
1212
StandardPwdAuthForms.PwdForm,
1313
StandardPwdAuthForms.ResetForm,
1414
StandardPwdAuthForms.ConfirmResetForm,
15+
StandardPwdAuthForms.ResetTemporaryPasswordForm,
1516
StandardPwdRegisterForms.PwdForm
1617
};
1718

tests/SimpleIdServer.IdServer.Host.Acceptance.Tests/IdServerConfiguration.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,4 @@ public static Scope GetRoleScope()
319319
{
320320
SimpleIdServer.IdServer.Config.DefaultRealms.Master
321321
};
322-
323-
private static X509SecurityKey GenerateRandomSelfSignedCertificate()
324-
{
325-
var ecdsa = ECDsa.Create();
326-
var req = new CertificateRequest("cn=selfSigned", ecdsa, HashAlgorithmName.SHA256);
327-
var cert = req.CreateSelfSigned(DateTimeOffset.Now, DateTimeOffset.Now.AddYears(2));
328-
var key = new X509SecurityKey(cert)
329-
{
330-
KeyId = "selfSignedId"
331-
};
332-
return key;
333-
}
334322
}

0 commit comments

Comments
 (0)