closes #771
This commit is contained in:
Pierre Fersing
2016-02-29 22:02:33 +01:00
committed by Cameron Sparr
parent ca3a80fbe1
commit fe43fb47e1
3 changed files with 5 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ func (t *transportMock) RoundTrip(r *http.Request) (*http.Response, error) {
return res, nil
}
func (t *transportMock) CancelRequest(_ *http.Request) {
}
func TestElasticsearch(t *testing.T) {
es := NewElasticsearch()
es.Servers = []string{"http://example.com:9200"}