Skip to content

Commit

Permalink
Move location parameter in test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Junyi Yi committed Jun 2, 2018
1 parent 7e6daf7 commit 86f17b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/resource_arm_storage_blob_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func TestAccAzureRMStorageBlobBlock_source(t *testing.T) {
t.Fatalf("Failed to close source blob")
}

config := testAccAzureRMStorageBlobBlock_source(ri, rs1, sourceBlob.Name(), testLocation())
config := testAccAzureRMStorageBlobBlock_source(ri, rs1, testLocation(), sourceBlob.Name())

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down Expand Up @@ -581,7 +581,7 @@ resource "azurerm_storage_blob" "test" {
`, rInt, location, rString)
}

func testAccAzureRMStorageBlobBlock_source(rInt int, rString string, sourceBlobName string, location string) string {
func testAccAzureRMStorageBlobBlock_source(rInt int, rString string, location string, sourceBlobName string) string {
return fmt.Sprintf(`
resource "azurerm_resource_group" "test" {
name = "acctestRG-%d"
Expand Down

0 comments on commit 86f17b7

Please sign in to comment.