refac: article reads, story delete, no leaks, stored SEO status, rate limit, cleanup (%site%, article repo split, old lang repos, one default per site rule to domain)
This commit is contained in:
1 parent
9d284e65a9
commit
7c15206170
85 files changed
+1788
-593
No files matched your search
@@ -7,6 +7,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
"reflect"
|
||||
"slices"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
@@ -107,7 +108,7 @@ func TestArticleStoryLifecycleHTTP(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if strings.Contains(response.text(), "Kosten") || strings.Contains(response.text(), `"de"`) {
|
||||
if strings.Contains(response.text(), "Kosten") || slices.Contains(languagesIn(translations), "de") {
|
||||
t.Errorf("the hidden version leaks: %s", response.text())
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user