mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Remove terraform test file names in internal/cloud tests
This commit is contained in:
parent
035896a665
commit
0afa80282e
@ -947,7 +947,7 @@ func TestCloud_planWithWorkingDirectory(t *testing.T) {
|
||||
defer bCleanup()
|
||||
|
||||
options := tfe.WorkspaceUpdateOptions{
|
||||
WorkingDirectory: tfe.String("terraform"),
|
||||
WorkingDirectory: tfe.String("opentf"),
|
||||
}
|
||||
|
||||
// Configure the workspace to use a custom working directory.
|
||||
@ -956,7 +956,7 @@ func TestCloud_planWithWorkingDirectory(t *testing.T) {
|
||||
t.Fatalf("error configuring working directory: %v", err)
|
||||
}
|
||||
|
||||
op, configCleanup, done := testOperationPlan(t, "./testdata/plan-with-working-directory/terraform")
|
||||
op, configCleanup, done := testOperationPlan(t, "./testdata/plan-with-working-directory/opentf")
|
||||
defer configCleanup()
|
||||
defer done(t)
|
||||
|
||||
@ -992,7 +992,7 @@ func TestCloud_planWithWorkingDirectoryFromCurrentPath(t *testing.T) {
|
||||
defer bCleanup()
|
||||
|
||||
options := tfe.WorkspaceUpdateOptions{
|
||||
WorkingDirectory: tfe.String("terraform"),
|
||||
WorkingDirectory: tfe.String("opentf"),
|
||||
}
|
||||
|
||||
// Configure the workspace to use a custom working directory.
|
||||
@ -1008,7 +1008,7 @@ func TestCloud_planWithWorkingDirectoryFromCurrentPath(t *testing.T) {
|
||||
|
||||
// We need to change into the configuration directory to make sure
|
||||
// the logic to upload the correct slug is working as expected.
|
||||
if err := os.Chdir("./testdata/plan-with-working-directory/terraform"); err != nil {
|
||||
if err := os.Chdir("./testdata/plan-with-working-directory/opentf"); err != nil {
|
||||
t.Fatalf("error changing directory: %v", err)
|
||||
}
|
||||
defer os.Chdir(wd) // Make sure we change back again when were done.
|
||||
|
Loading…
Reference in New Issue
Block a user