mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Moving components required for variant overrides into appropriate modules
This commit is contained in:
@@ -7,7 +7,7 @@ describe "maintaining a list of dirty variant overrides", ->
|
||||
count_on_hand: 4
|
||||
|
||||
beforeEach ->
|
||||
module "ofn.admin"
|
||||
module "admin.variantOverrides"
|
||||
|
||||
beforeEach inject (_DirtyVariantOverrides_) ->
|
||||
DirtyVariantOverrides = _DirtyVariantOverrides_
|
||||
|
||||
@@ -2,7 +2,7 @@ describe "indexer", ->
|
||||
Indexer = null
|
||||
|
||||
beforeEach ->
|
||||
module "ofn.admin"
|
||||
module "admin.indexUtils"
|
||||
|
||||
beforeEach inject (_Indexer_) ->
|
||||
Indexer = _Indexer_
|
||||
|
||||
@@ -7,7 +7,7 @@ describe "VariantOverrides service", ->
|
||||
]
|
||||
|
||||
beforeEach ->
|
||||
module "ofn.admin"
|
||||
module "admin.variantOverrides"
|
||||
module ($provide) ->
|
||||
$provide.value "variantOverrides", variantOverrides
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user