all the refactor
This commit is contained in:
@@ -56,7 +56,7 @@ func newTestPoolServer(t *testing.T) *PoolServer {
|
||||
if err != nil {
|
||||
t.Fatalf("new pool: %v", err)
|
||||
}
|
||||
return NewPoolServer(pool, "test")
|
||||
return NewPoolServer(pool, "test", nil)
|
||||
}
|
||||
|
||||
// exampleId is the catalog item the fetcher rework was validated against.
|
||||
@@ -338,7 +338,7 @@ func TestChildren_ParentLinkage(t *testing.T) {
|
||||
Children: []Item{{Sku: exampleId, Quantity: 1, StoreId: &childStore}},
|
||||
}}
|
||||
|
||||
groups := buildItemGroups(ctx, items, "se")
|
||||
groups := buildItemGroups(ctx, items, "se", nil)
|
||||
if len(groups) != 1 {
|
||||
t.Fatalf("groups = %d, want 1", len(groups))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user