Fix types in tests.
This commit is contained in:
parent
a97ea87caa
commit
b07fe546fd
2 changed files with 4 additions and 3 deletions
|
@ -14,7 +14,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/smallstep/certificates/api"
|
||||
"github.com/smallstep/certificates/authority"
|
||||
"github.com/smallstep/certificates/authority/provisioner"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -391,7 +391,7 @@ func TestClient_Renew(t *testing.T) {
|
|||
|
||||
func TestClient_Provisioners(t *testing.T) {
|
||||
ok := &api.ProvisionersResponse{
|
||||
Provisioners: []*authority.Provisioner{},
|
||||
Provisioners: provisioner.List{},
|
||||
}
|
||||
internalServerError := api.InternalServerError(fmt.Errorf("Internal Server Error"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue