From b91339ec56961036f66c2e7b1901c5aa1b76341c Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Fri, 10 Jul 2026 20:53:04 +0100 Subject: [PATCH] fix: use targeted DELETE in DAV test instead of full table wipe --- backend/internal/dav/shared_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/dav/shared_test.go b/backend/internal/dav/shared_test.go index 4b3756b..834c8f4 100644 --- a/backend/internal/dav/shared_test.go +++ b/backend/internal/dav/shared_test.go @@ -89,7 +89,7 @@ func TestGetContactByURI_NotFound(t *testing.T) { func TestListAllContacts_Empty(t *testing.T) { ctx := context.Background() - _, err := testSvc.db.Exec(ctx, "DELETE FROM dav_cards") + _, err := testSvc.db.Exec(ctx, "DELETE FROM dav_cards WHERE uri LIKE 'test-%'") require.NoError(t, err) contacts, err := testSvc.ListAllContacts()