File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import (
20
20
"github.com/smallstep/assert"
21
21
"github.com/smallstep/certificates/api"
22
22
"github.com/smallstep/certificates/authority"
23
+ "github.com/smallstep/certificates/authority/provisioner"
23
24
"github.com/smallstep/cli/crypto/keys"
24
25
"github.com/smallstep/cli/crypto/pemutil"
25
26
"github.com/smallstep/cli/crypto/randutil"
@@ -389,7 +390,7 @@ func TestCAProvisionerEncryptedKey(t *testing.T) {
389
390
}
390
391
},
391
392
"ok" : func (t * testing.T ) * ekt {
392
- p := config .AuthorityConfig .Provisioners [2 ]
393
+ p := config .AuthorityConfig .Provisioners [2 ].( * provisioner. JWK )
393
394
return & ekt {
394
395
ca : ca ,
395
396
kid : p .Key .KeyID ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
"time"
15
15
16
16
"github.com/smallstep/certificates/api"
17
- "github.com/smallstep/certificates/authority"
17
+ "github.com/smallstep/certificates/authority/provisioner "
18
18
)
19
19
20
20
const (
@@ -391,7 +391,7 @@ func TestClient_Renew(t *testing.T) {
391
391
392
392
func TestClient_Provisioners (t * testing.T ) {
393
393
ok := & api.ProvisionersResponse {
394
- Provisioners : [] * authority. Provisioner {},
394
+ Provisioners : provisioner. List {},
395
395
}
396
396
internalServerError := api .InternalServerError (fmt .Errorf ("Internal Server Error" ))
397
397
You can’t perform that action at this time.
0 commit comments