mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Revert the WithContext changes to vault tests (#14947)
This commit is contained in:
committed by
GitHub
parent
48b43e9213
commit
e7b5b2a48d
@@ -2,7 +2,6 @@ package command
|
||||
|
||||
import (
|
||||
"archive/tar"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
@@ -643,7 +642,7 @@ func TestDebugCommand_PartialPermissions(t *testing.T) {
|
||||
defer closer()
|
||||
|
||||
// Create a new token with default policy
|
||||
resp, err := client.Logical().WriteWithContext(context.Background(), "auth/token/create", map[string]interface{}{
|
||||
resp, err := client.Logical().Write("auth/token/create", map[string]interface{}{
|
||||
"policies": "default",
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user