Skip to content

Commit

Permalink
hotfix: update simple_query_string_test.go assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
GokselKUCUKSAHIN committed Oct 29, 2024
1 parent 5695ac1 commit 6a3c919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/testing/simple_query_string_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ func (s *testSuite) Test_it_should_return_documents_that_filtered_by_simple_quer
// Then
assert.Nil(s.T(), err)
assert.Equal(s.T(), len(result), 2)
assert.Equal(s.T(), result[0].Foo, "george orwell")
assert.Equal(s.T(), result[1].Foo, "bar")
assert.Equal(s.T(), result[0].Foo, "bar")
assert.Equal(s.T(), result[1].Foo, "george orwell")

s.ElasticsearchRepository.BulkDelete([]string{foo.Id, bar.Id, george.Id})
}

0 comments on commit 6a3c919

Please sign in to comment.