refac: missing mutation tests, spa specs, checks shown to pass, touch targets, catalogue entry, production code

This commit is contained in:
Florian Sylvain committed 2026-11-04 03:04:35 +01:00
1 parent 7c15206170
commit 3e02e14da4
48 files changed
+2173 -83

No files matched your search

@@ -6,6 +6,7 @@ import (
"net/http"
"net/http/httptest"
"reflect"
"slices"
"sort"
"strconv"
"strings"
@@ -496,6 +497,10 @@ func runArticleListLocalization(t *testing.T, open func(*testing.T) *gorm.DB) {
if len(unknown.Items) != 0 || unknown.Total != 0 {
t.Fatal("unknown site must be empty")
}
_, everySite := env.get(localizationOwnerID, "?group=story")
if !slices.Contains(everySite.storyIDs(), 70) || everySite.Total <= 1 {
t.Fatalf("without site every site is listed: %v of %d", everySite.storyIDs(), everySite.Total)
}
})
t.Run("SEO filter on one version", func(t *testing.T) {