fix compile errors
diff --git a/api_test.go b/api_test.go
index fba8e0c..fe8bef6 100644
--- a/api_test.go
+++ b/api_test.go
@@ -31,8 +31,8 @@
It("should get empty set if no deployments", func() {
- uri, err := url.Parse(apiServerBaseURI)
- Expect(err).Should(Succeed())
+ var uri url.URL
+ uri = *apiServerBaseURI
uri.Path = deploymentsEndpoint
res, err := http.Get(uri.String())
Expect(err).Should(Succeed())
diff --git a/apidGatewayConfDeploy_suite_test.go b/apidGatewayConfDeploy_suite_test.go
index 9cc294a..acd4eb9 100644
--- a/apidGatewayConfDeploy_suite_test.go
+++ b/apidGatewayConfDeploy_suite_test.go
@@ -6,10 +6,8 @@
"github.com/30x/apid-core"
"github.com/30x/apid-core/factory"
"io/ioutil"
- "net/http/httptest"
"time"
"os"
- "net/url"
)