refact(e2e): Add context as an argument for cli methods
This was done have some alignment with the corresponding api methods as well as matching standard Go conventions.
This commit is contained in:
1 parent
a956e8dec9
commit
57ffc71849
15 files changed
+107
-110
No files matched your search
@@ -25,8 +25,8 @@ func CreateNewCredentialStoreStaticApi(t testing.TB, ctx context.Context, client
|
||||
|
||||
// CreateNewCredentialStoreStaticCli creates a new static credential store using the cli.
|
||||
// Returns the id of the new credential store
|
||||
func CreateNewCredentialStoreStaticCli(t testing.TB, projectId string) string {
|
||||
output := e2e.RunCommand(context.Background(), "boundary",
|
||||
func CreateNewCredentialStoreStaticCli(t testing.TB, ctx context.Context, projectId string) string {
|
||||
output := e2e.RunCommand(ctx, "boundary",
|
||||
e2e.WithArgs(
|
||||
"credential-stores", "create", "static",
|
||||
"-scope-id", projectId,
|
||||
|
||||
Reference in new issue
Block a user