From 0a81ae70d4ecacbbfc2b283c56597f0214dc5bda Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Sun, 26 Mar 2017 20:11:09 +0200 Subject: [PATCH] [TASK] real status message --- http/status.go | 2 +- http/status_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http/status.go b/http/status.go index 2d0345e..0d55b47 100644 --- a/http/status.go +++ b/http/status.go @@ -7,5 +7,5 @@ import ( ) func statusHandler(w http.ResponseWriter, r *http.Request) { - lib.Write(w, "hello world") + lib.Write(w, "running") } diff --git a/http/status_test.go b/http/status_test.go index bfa6430..ade4d13 100644 --- a/http/status_test.go +++ b/http/status_test.go @@ -14,6 +14,6 @@ func TestStatus(t *testing.T) { result, w := session.JSONRequest("GET", "/api/status", nil) assertion.Equal(http.StatusOK, w.StatusCode) - assertion.Equal("hello world", result) + assertion.Equal("running", result) }