Remove TagRule::DiscountOrder

This class was removed from the UI in 2016 and hasn't been used since...
This commit is contained in:
Matt-Yorkley
2021-04-08 12:34:40 +01:00
parent e61fe86d00
commit 80d43c714d
8 changed files with 2 additions and 150 deletions

View File

@@ -25,11 +25,11 @@ describe "TagRulesCtrl", ->
describe "adding a new tag group", ->
beforeEach ->
scope.addNewRuleTo(scope.tagGroups[0], "DiscountOrder")
scope.addNewRuleTo(scope.tagGroups[0], "FilterOrderCycles")
it "adds a new rule of the specified type to the rules array for the tagGroup", ->
expect(scope.tagGroups[0].rules.length).toEqual 3
expect(scope.tagGroups[0].rules[2].type).toEqual "TagRule::DiscountOrder"
expect(scope.tagGroups[0].rules[2].type).toEqual "TagRule::FilterOrderCycles"
it "updates tagGroup start indices", ->
expect(scope.tagGroups[0].startIndex).toEqual 1