Skip to content

Commit

Permalink
fix test to work with new order of results returned
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Jun 1, 2016
1 parent 198f3e3 commit 2a5d200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func TestBeerSearchAll(t *testing.T) {
if dateSearchResult.Total != expectedResultCount {
t.Errorf("expected %d hits, got %d", expectedResultCount, dateSearchResult.Total)
} else {
expectedResultId := "brasserie_du_bouffay-ambr"
expectedResultId := "brasserie_du_bouffay"
if dateSearchResult.Hits[0].ID != expectedResultId {
t.Errorf("expected top hit ID: %s, got %s", expectedResultId, dateSearchResult.Hits[0].ID)
}
Expand Down

0 comments on commit 2a5d200

Please sign in to comment.