Adding more unit tests for Discount Codes including flat rates, as well as updating discounts
Function naming error
Merge pull request #2293 from cklosowski/unit-tests

Adding some more unit tests for discounts
Merge branch 'master' into release/2.0