mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-01 09:26:38 +00:00
fix: update ParadeDB search test count for new fixture
Project 40 (archived child project) is pulled into ParadeDB fuzzy search results via the recursive CTE.
This commit is contained in:
@@ -60,7 +60,7 @@ func TestProject(t *testing.T) {
|
||||
// ParadeDB fuzzy(1, prefix=true) on "Test1" matches Test2-Test9
|
||||
// (edit distance 1), Test10+ (prefix), etc. The recursive CTE
|
||||
// also pulls in child projects of matched parents.
|
||||
require.Len(t, projects, 27)
|
||||
require.Len(t, projects, 28)
|
||||
} else {
|
||||
// ILIKE '%Test1%' matches Test1, Test10, Test11, Test19, + favorites
|
||||
require.Len(t, projects, 5)
|
||||
|
||||
Reference in New Issue
Block a user