diff --git a/cmd/rove-server/integration_test.go b/cmd/rove-server/integration_test.go index 492dc64..33b562d 100644 --- a/cmd/rove-server/integration_test.go +++ b/cmd/rove-server/integration_test.go @@ -8,12 +8,13 @@ import ( "github.com/mdiluz/rove/pkg/rove" ) -var serverUrl = "http://localhost:8080" +var serverUrl = "localhost:8080" func TestServerStatus(t *testing.T) { conn := rove.NewConnection(serverUrl) - status := conn.Status() - if !status.Ready { + if status, err := conn.Status(); err != nil { + t.Errorf("Status returned error: %s", err) + } else if !status.Ready { t.Error("Server did not return that it was ready") } } diff --git a/docker-compose.yml b/docker-compose.yml index 39f20f1..b166993 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,4 +3,4 @@ services: rove-server: build: . ports: - - "80:8080" \ No newline at end of file + - "8080:8080" \ No newline at end of file