fix
This commit is contained in:
@@ -165,8 +165,11 @@ func TestEnforceV1ProcessCompletedItem_categoryFromCallerPreserved(t *testing.T)
|
||||
"eprel": nil,
|
||||
}
|
||||
out := EnforceV1ProcessCompletedItem(item, "", nil)
|
||||
if out["category"] != "50" {
|
||||
t.Fatalf("category=%v", out["category"])
|
||||
if out["category"] != "Štedilniki" {
|
||||
t.Fatalf("category=%v want display name", out["category"])
|
||||
}
|
||||
if out["category_id"] != "50" {
|
||||
t.Fatalf("category_id=%v want 50", out["category_id"])
|
||||
}
|
||||
if out["category_name"] != "Štedilniki" {
|
||||
t.Fatalf("category_name=%v", out["category_name"])
|
||||
|
||||
Reference in New Issue
Block a user