From 8b0926a3380472113f275481a3d3c92d43aafc0b Mon Sep 17 00:00:00 2001 From: Umputun Date: Fri, 11 Jan 2019 14:06:31 -0600 Subject: [PATCH] fix #246 --- backend/app/rest/api/rest_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backend/app/rest/api/rest_test.go b/backend/app/rest/api/rest_test.go index a8b7d6e6..b0af824a 100644 --- a/backend/app/rest/api/rest_test.go +++ b/backend/app/rest/api/rest_test.go @@ -292,10 +292,3 @@ func addComment(t *testing.T, c store.Comment, ts *httptest.Server) string { time.Sleep(time.Nanosecond * 10) return crResp["id"].(string) } - -func cleanup(ts *httptest.Server, srv *Rest) { - ts.Close() - srv.DataService.Close() - os.Remove(testDb) - os.Remove(testHTML) -}