refac: stale test entries, failing web tests, Postgre backup bug, Hardcoded MySQL table count, Stale Postgre connection in test, own-scope visibility filter, GetAll ignoring its error, JSON tags in use-case types, 31 copies of DESKTOP_QUERY, ProfileView endpoint paths

This commit is contained in:
Florian Sylvain committed 2026-10-28 17:54:10 +01:00
1 parent efecdee200
commit 5d6f378fce
87 files changed
+696 -373

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ func TestEnforceRetentionUseCase(t *testing.T) {
if _, removed := w.users.users[2]; removed {
t.Error("the abandoned account must be removed")
}
remaining := w.invites.GetAll()
remaining := allOf(w.invites.GetAll())
if len(remaining) != 1 || remaining[0].Email != "pending@example.com" {
t.Errorf("expected only the pending invite kept, got %+v", remaining)
}