mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Revert the WithContext changes to vault tests (#14947)
This commit is contained in:
committed by
GitHub
parent
48b43e9213
commit
e7b5b2a48d
@@ -1,7 +1,6 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"context"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -23,7 +22,7 @@ func testUnwrapCommand(tb testing.TB) (*cli.MockUi, *UnwrapCommand) {
|
||||
func testUnwrapWrappedToken(tb testing.TB, client *api.Client, data map[string]interface{}) string {
|
||||
tb.Helper()
|
||||
|
||||
wrapped, err := client.Logical().WriteWithContext(context.Background(), "sys/wrapping/wrap", data)
|
||||
wrapped, err := client.Logical().Write("sys/wrapping/wrap", data)
|
||||
if err != nil {
|
||||
tb.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user