mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Fetching Enterprise Fees for order cycle, using new enterprisefee serializer
This commit is contained in:
@@ -396,7 +396,7 @@ describe 'OrderCycle services', ->
|
||||
inject ($injector, _$httpBackend_)->
|
||||
EnterpriseFee = $injector.get('EnterpriseFee')
|
||||
$httpBackend = _$httpBackend_
|
||||
$httpBackend.whenGET('/admin/enterprise_fees.json').respond [
|
||||
$httpBackend.whenGET('/admin/enterprise_fees/for_order_cycle.json?').respond [
|
||||
{id: 1, name: "Yayfee", enterprise_id: 1}
|
||||
{id: 2, name: "FeeTwo", enterprise_id: 2}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user