fix
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user