Update api/api_test.go
Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
parent
2349a7a7fb
commit
8df01c60c1
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ func (m *mockAuthority) Version() authority.Version {
|
|||
}
|
||||
|
||||
func (m *mockAuthority) Capabilities() authority.Capabilities {
|
||||
if m.version != nil {
|
||||
if m.capabilities != nil {
|
||||
return m.capabilities()
|
||||
}
|
||||
return m.ret1.(authority.Capabilities)
|
||||
|
|
Loading…
Reference in a new issue