diff --git a/cmd/rove-server/integration_test.go b/cmd/rove-server/integration_test.go index faeec36..492dc64 100644 --- a/cmd/rove-server/integration_test.go +++ b/cmd/rove-server/integration_test.go @@ -1,10 +1,19 @@ // +build integration + package main -import "testing" +import ( + "testing" + + "github.com/mdiluz/rove/pkg/rove" +) var serverUrl = "http://localhost:8080" func TestServerStatus(t *testing.T) { - + conn := rove.NewConnection(serverUrl) + status := conn.Status() + if !status.Ready { + t.Error("Server did not return that it was ready") + } }