mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Make API not depend on SDK (#18962)
This commit is contained in:
@@ -3,8 +3,6 @@ package api
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/vault/sdk/logical"
|
||||
)
|
||||
|
||||
type mockAuthMethod struct {
|
||||
@@ -91,7 +89,7 @@ func TestAuth_MFALoginTwoPhase(t *testing.T) {
|
||||
m: &mockAuthMethod{
|
||||
mockedSecret: &Secret{
|
||||
Auth: &SecretAuth{
|
||||
MFARequirement: &logical.MFARequirement{
|
||||
MFARequirement: &MFARequirement{
|
||||
MFARequestID: "a-req-id",
|
||||
MFAConstraints: nil,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user