Skip to content

Commit

Permalink
r/vmfs_datastore: Fix expected folder to env var
Browse files Browse the repository at this point in the history
Was a static path before, which was causing issues with some of my tests
because I have it set to a different path in my devrc.
  • Loading branch information
vancluever committed Sep 5, 2017
1 parent 418b574 commit fc772b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsphere/resource_vsphere_vmfs_datastore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func TestAccResourceVSphereVmfsDatastore(t *testing.T) {
Config: testAccResourceVSphereVmfsDatastoreConfigStaticSingleFolder(),
Check: resource.ComposeTestCheckFunc(
testAccResourceVSphereVmfsDatastoreExists(true),
testAccResourceVSphereVmfsDatastoreMatchInventoryPath("datastore-folder"),
testAccResourceVSphereVmfsDatastoreMatchInventoryPath(os.Getenv("VSPHERE_DS_FOLDER")),
),
},
},
Expand All @@ -171,7 +171,7 @@ func TestAccResourceVSphereVmfsDatastore(t *testing.T) {
ExpectError: expectErrorIfNotVirtualCenter(),
Check: resource.ComposeTestCheckFunc(
testAccResourceVSphereVmfsDatastoreExists(true),
testAccResourceVSphereVmfsDatastoreMatchInventoryPath("datastore-folder"),
testAccResourceVSphereVmfsDatastoreMatchInventoryPath(os.Getenv("VSPHERE_DS_FOLDER")),
),
},
},
Expand Down

0 comments on commit fc772b4

Please sign in to comment.