@@ -17,7 +17,7 @@ func TestClientAddSiteBadConnection(t *testing.T) {
1717 config := & Config {APIID : "foo" , APIKey : "bar" , BaseURL : "badness.incapsula.com" }
1818 client := & Client {config : config , httpClient : & http.Client {Timeout : time .Millisecond * 1 }}
1919 domain := "foo.com"
20- addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false )
20+ addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false , "" )
2121 if err == nil {
2222 t .Errorf ("Should have received an error" )
2323 }
@@ -41,7 +41,7 @@ func TestClientAddSiteBadJSON(t *testing.T) {
4141 config := & Config {APIID : "foo" , APIKey : "bar" , BaseURL : server .URL }
4242 client := & Client {config : config , httpClient : & http.Client {}}
4343 domain := "foo.com"
44- addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false )
44+ addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false , "" )
4545 if err == nil {
4646 t .Errorf ("Should have received an error" )
4747 }
@@ -65,7 +65,7 @@ func TestClientAddSiteInvalidSite(t *testing.T) {
6565 config := & Config {APIID : "foo" , APIKey : "bar" , BaseURL : server .URL }
6666 client := & Client {config : config , httpClient : & http.Client {}}
6767 domain := "foo.com"
68- addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false )
68+ addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false , "" )
6969 if err == nil {
7070 t .Errorf ("Should have received an error" )
7171 }
@@ -89,7 +89,7 @@ func TestClientAddSiteValidSite(t *testing.T) {
8989 config := & Config {APIID : "foo" , APIKey : "bar" , BaseURL : server .URL }
9090 client := & Client {config : config , httpClient : & http.Client {}}
9191 domain := "foo.com"
92- addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false )
92+ addSiteResponse , err := client .AddSite (domain , "" , "" , "" , "" , 0 , false , false , "" )
9393 if err != nil {
9494 t .Errorf ("Should not have received an error" )
9595 }
0 commit comments