Skip to content

Commit

Permalink
Fixed gateway test
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Buhr committed Feb 10, 2015
1 parent dee0685 commit 0466ad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ func TestWithAnalyticsErrorResponse(t *testing.T) {
recorder := httptest.NewRecorder()
param := make(url.Values)
req, err := http.NewRequest(method, uri+param.Encode(), nil)
req.Header.Add("authorization", "4321")
req.Header.Add("authorization", "76589854")

if err != nil {
t.Fatal(err)
Expand All @@ -706,7 +706,7 @@ func TestWithAnalyticsErrorResponse(t *testing.T) {
results := analytics.Store.GetKeysAndValues()

if len(results) < 1 {
t.Error("Not enough results! Should be 1, is: ", len(results))
t.Error("Not enough results! Should be at least 1, is: ", len(results))
}

}

0 comments on commit 0466ad8

Please sign in to comment.