mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Fix tests
This commit is contained in:
@@ -383,9 +383,9 @@ func TestPredict_Plugins(t *testing.T) {
|
||||
act := p.plugins()
|
||||
|
||||
if !strutil.StrListContains(act, "kmip") {
|
||||
for i, v := range exp {
|
||||
for i, v := range tc.exp {
|
||||
if v == "kmip" {
|
||||
exp = append(exp[:i], exp[i+1:]...)
|
||||
tc.exp = append(tc.exp[:i], tc.exp[i+1:]...)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user