@@ -25,17 +25,17 @@ func TestHTTPRemote_Validate(t *testing.T) {
2525 t .Fatalf ("expect error" )
2626 }
2727
28- conf ["url " ] = ""
28+ conf ["address " ] = ""
2929 if _ , err := NewHTTPRemoteClient (conf ); err == nil {
3030 t .Fatalf ("expect error" )
3131 }
3232
33- conf ["url " ] = "*"
33+ conf ["address " ] = "*"
3434 if _ , err := NewHTTPRemoteClient (conf ); err == nil {
3535 t .Fatalf ("expect error" )
3636 }
3737
38- conf ["url " ] = "http://cool.com"
38+ conf ["address " ] = "http://cool.com"
3939 if _ , err := NewHTTPRemoteClient (conf ); err != nil {
4040 t .Fatalf ("err: %v" , err )
4141 }
@@ -90,7 +90,7 @@ func TestHTTPRemote_GetState(t *testing.T) {
9090 remote := & terraform.RemoteState {
9191 Type : "http" ,
9292 Config : map [string ]string {
93- "url " : s .URL ,
93+ "address " : s .URL ,
9494 },
9595 }
9696 r , err := NewClientByState (remote )
@@ -231,7 +231,7 @@ func TestHTTPRemote_PutState(t *testing.T) {
231231 remote := & terraform.RemoteState {
232232 Type : "http" ,
233233 Config : map [string ]string {
234- "url " : s .URL + "/foobar" ,
234+ "address " : s .URL + "/foobar" ,
235235 },
236236 }
237237 r , err := NewClientByState (remote )
@@ -311,7 +311,7 @@ func TestHTTPRemote_DeleteState(t *testing.T) {
311311 remote := & terraform.RemoteState {
312312 Type : "http" ,
313313 Config : map [string ]string {
314- "url " : s .URL + "/foobar" ,
314+ "address " : s .URL + "/foobar" ,
315315 },
316316 }
317317 r , err := NewClientByState (remote )
0 commit comments