Skip to content

Commit 44318eb

Browse files
committed
tests: update tests for v28 changes
- the new `stem_dictionary` is added on every field created in a collection in v28
1 parent c762cdd commit 44318eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: typesense/test/dbhelpers_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func expectedNewCollection(name string) *api.CollectionResponse {
5858
Drop: nil,
5959
Store: pointer.True(),
6060
Stem: pointer.False(),
61+
StemDictionary: pointer.String(""),
6162
},
6263
{
6364
Name: "num_employees",
@@ -71,6 +72,7 @@ func expectedNewCollection(name string) *api.CollectionResponse {
7172
Drop: nil,
7273
Store: pointer.True(),
7374
Stem: pointer.False(),
75+
StemDictionary: pointer.String(""),
7476
},
7577
{
7678
Name: "country",
@@ -84,6 +86,7 @@ func expectedNewCollection(name string) *api.CollectionResponse {
8486
Drop: nil,
8587
Store: pointer.True(),
8688
Stem: pointer.False(),
89+
StemDictionary: pointer.String(""),
8790
},
8891
},
8992
EnableNestedFields: pointer.False(),

0 commit comments

Comments
 (0)