This commit is contained in:
2026-08-17 01:30:28 +02:00
parent c2429873b3
commit 0dceb3a404
18 changed files with 1021 additions and 219 deletions
@@ -359,8 +359,11 @@ func TestLoadV1ProcessJobItems_resolvesCategoryName(t *testing.T) {
if len(items) != 1 {
t.Fatalf("items=%d want 1", len(items))
}
if got := fmt.Sprint(items[0]["category"]); got != "50" {
t.Fatalf("category=%v want 50", items[0]["category"])
if got := fmt.Sprint(items[0]["category"]); got != "Štedilniki" {
t.Fatalf("category=%v want Štedilniki (display name)", items[0]["category"])
}
if got := fmt.Sprint(items[0]["category_id"]); got != "50" {
t.Fatalf("category_id=%v want 50", items[0]["category_id"])
}
if got := fmt.Sprint(items[0]["category_name"]); got != "Štedilniki" {
t.Fatalf("category_name=%v want Štedilniki", items[0]["category_name"])