refact(e2e): Rename credential methods for clarity (#6219)
* refact(e2e): Rename method to usernamepassworddomain * refact(e2e): Rename method to usernamepassword
This commit is contained in:
1 parent
31277e0b23
commit
06d69f699e
9 files changed
+13
-13
No files matched your search
@@ -77,11 +77,11 @@ func TestCliStaticCredentialStore(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
privateKeyCredentialsId, err := boundary.CreateStaticCredentialPrivateKeyCli(t, ctx, storeId, c.TargetSshUser, testPemFile)
|
||||
require.NoError(t, err)
|
||||
pwCredentialId, err := boundary.CreateStaticCredentialPasswordCli(t, ctx, storeId, c.TargetSshUser, testPassword)
|
||||
pwCredentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(t, ctx, storeId, c.TargetSshUser, testPassword)
|
||||
require.NoError(t, err)
|
||||
jsonCredentialId, err := boundary.CreateStaticCredentialJsonCli(t, ctx, storeId, testCredentialsFile)
|
||||
require.NoError(t, err)
|
||||
updCredentialId, err := boundary.CreateStaticCredentialPasswordDomainCli(t, ctx, storeId, c.TargetSshUser, testPassword, testDomain)
|
||||
updCredentialId, err := boundary.CreateStaticCredentialUsernamePasswordDomainCli(t, ctx, storeId, c.TargetSshUser, testPassword, testDomain)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Get credentials for target (expect empty)
|
||||
|
||||
@@ -88,7 +88,7 @@ func TestCliPaginateCredentials(t *testing.T) {
|
||||
assert.Empty(t, initialCredentials.ListToken)
|
||||
|
||||
// Create a new credential and destroy one of the other credentials
|
||||
credentialId, err := boundary.CreateStaticCredentialPasswordCli(t, ctx, storeId, "user", "password")
|
||||
credentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(t, ctx, storeId, "user", "password")
|
||||
require.NoError(t, err)
|
||||
output = e2e.RunCommand(ctx, "boundary",
|
||||
e2e.WithArgs(
|
||||
|
||||
@@ -82,7 +82,7 @@ func TestCliTcpTargetConnectCassandra(t *testing.T) {
|
||||
storeId, err := boundary.CreateCredentialStoreStaticCli(t, ctx, projectId)
|
||||
require.NoError(t, err)
|
||||
|
||||
credentialId, err := boundary.CreateStaticCredentialPasswordCli(
|
||||
credentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(
|
||||
t,
|
||||
ctx,
|
||||
storeId,
|
||||
|
||||
@@ -83,7 +83,7 @@ func TestCliTcpTargetConnectMongo(t *testing.T) {
|
||||
storeId, err := boundary.CreateCredentialStoreStaticCli(t, ctx, projectId)
|
||||
require.NoError(t, err)
|
||||
|
||||
credentialId, err := boundary.CreateStaticCredentialPasswordCli(
|
||||
credentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(
|
||||
t,
|
||||
ctx,
|
||||
storeId,
|
||||
|
||||
@@ -82,7 +82,7 @@ func TestCliTcpTargetConnectMysql(t *testing.T) {
|
||||
storeId, err := boundary.CreateCredentialStoreStaticCli(t, ctx, projectId)
|
||||
require.NoError(t, err)
|
||||
|
||||
credentialId, err := boundary.CreateStaticCredentialPasswordCli(
|
||||
credentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(
|
||||
t,
|
||||
ctx,
|
||||
storeId,
|
||||
|
||||
@@ -84,7 +84,7 @@ func TestCliTcpTargetConnectRedis(t *testing.T) {
|
||||
storeId, err := boundary.CreateCredentialStoreStaticCli(t, ctx, projectId)
|
||||
require.NoError(t, err)
|
||||
|
||||
credentialId, err := boundary.CreateStaticCredentialPasswordCli(
|
||||
credentialId, err := boundary.CreateStaticCredentialUsernamePasswordCli(
|
||||
t,
|
||||
ctx,
|
||||
storeId,
|
||||
|
||||
Reference in new issue
Block a user