storetest/channel_store: update a stop word (#16784)

Этот коммит содержится в:
Ibrahim Serdar Acikgoz
2021-01-26 09:16:38 +03:00
коммит произвёл GitHub
родитель dc6a8711b9
Коммит 3652bc838f

Просмотреть файл

@@ -5407,8 +5407,8 @@ func testChannelStoreSearchAllChannels(t *testing.T, ss store.Store) {
o10 := model.Channel{
TeamId: t1.Id,
DisplayName: "B10 That",
Name: "that",
DisplayName: "B10 Which",
Name: "which",
Type: model.CHANNEL_OPEN,
}
_, nErr = ss.Channel().Save(&o10, -1)
@@ -5474,7 +5474,7 @@ func testChannelStoreSearchAllChannels(t *testing.T, ss store.Store) {
{"prefix", "off-", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o6, &o7, &o8}, 0},
{"full match with dash", "off-topic", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o6}, 0},
{"town square", "town square", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o9}, 0},
{"that in name", "that", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o10}, 0},
{"which in name", "which", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o10}, 0},
{"Mobile", "Mobile", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o11}, 0},
{"search purpose", "now searchable", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o12}, 0},
{"pipe ignored", "town square |", store.ChannelSearchOpts{IncludeDeleted: false}, &model.ChannelList{&o9}, 0},