Add AuthorizeChallenge unit tests
This commit is contained in:
parent
f0a24bd8ca
commit
99299faeeb
1 changed files with 3 additions and 0 deletions
|
@ -758,6 +758,9 @@ func TestHandler_newAuthorization(t *testing.T) {
|
||||||
}
|
}
|
||||||
for name, run := range tests {
|
for name, run := range tests {
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
|
if name == "ok/permanent-identifier-enabled" {
|
||||||
|
println(1)
|
||||||
|
}
|
||||||
tc := run(t)
|
tc := run(t)
|
||||||
ctx := newBaseContext(context.Background(), tc.db)
|
ctx := newBaseContext(context.Background(), tc.db)
|
||||||
ctx = acme.NewProvisionerContext(ctx, tc.prov)
|
ctx = acme.NewProvisionerContext(ctx, tc.prov)
|
||||||
|
|
Loading…
Reference in a new issue