storetest/team_store: fix flaky test for searching a short term (#16172)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3515b4d6c9
Коммит
9bff309dd0
@@ -303,7 +303,7 @@ func testTeamStoreSearchAll(t *testing.T, ss store.Store) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Search for open team without results",
|
"Search for open team without results",
|
||||||
&model.TeamSearch{Term: "junk"},
|
&model.TeamSearch{Term: "notexists"},
|
||||||
0,
|
0,
|
||||||
[]string{},
|
[]string{},
|
||||||
},
|
},
|
||||||
@@ -464,7 +464,7 @@ func testTeamStoreSearchOpen(t *testing.T, ss store.Store) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Search for open team without results",
|
"Search for open team without results",
|
||||||
"junk",
|
"notexists",
|
||||||
0,
|
0,
|
||||||
"",
|
"",
|
||||||
},
|
},
|
||||||
@@ -570,7 +570,7 @@ func testTeamStoreSearchPrivate(t *testing.T, ss store.Store) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Search for private team without results",
|
"Search for private team without results",
|
||||||
"junk",
|
"notexists",
|
||||||
0,
|
0,
|
||||||
"",
|
"",
|
||||||
},
|
},
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user