mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
BOM: only fetch completed orders
This commit is contained in:
@@ -32,7 +32,7 @@ describe "AdminOrderMgmtCtrl", ->
|
||||
|
||||
describe "fetching orders", ->
|
||||
beforeEach ->
|
||||
httpBackend.expectGET("/api/orders?template=bulk_index").respond "list of orders"
|
||||
httpBackend.expectGET("/api/orders?template=bulk_index&q[completed_at_not_null]=true").respond "list of orders"
|
||||
|
||||
it "makes a standard call to dataFetcher", ->
|
||||
scope.fetchOrders()
|
||||
|
||||
Reference in New Issue
Block a user