From 421d917c18c1d4d8f574913e84dd4ecda458b2d1 Mon Sep 17 00:00:00 2001 From: Javad Date: Sat, 9 Nov 2024 14:17:51 +0330 Subject: [PATCH] fix: add cleanup for test --- index_document_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/index_document_test.go b/index_document_test.go index f801c21..5279a83 100644 --- a/index_document_test.go +++ b/index_document_test.go @@ -1669,6 +1669,7 @@ func TestIndex_UpdateDocumentsByFunction(t *testing.T) { require.True(t, res.EditDocumentsByFunction) idx := setupMovieIndex(t, c) + t.Cleanup(cleanup(c)) t.Run("Test Upper Case and Add Sparkles around Movie Titles", func(t *testing.T) { task, err := idx.UpdateDocumentsByFunction(&UpdateDocumentByFunctionRequest{