diff --git a/erpnext/accounts/doctype/loyalty_program/test_loyalty_program.py b/erpnext/accounts/doctype/loyalty_program/test_loyalty_program.py index 64adce9ec15..af8b38cca91 100644 --- a/erpnext/accounts/doctype/loyalty_program/test_loyalty_program.py +++ b/erpnext/accounts/doctype/loyalty_program/test_loyalty_program.py @@ -39,6 +39,9 @@ class TestLoyaltyProgram(unittest.TestCase): ) self.assertEqual(si_original.get("loyalty_program"), customer.loyalty_program) + self.assertEqual( + lpe.get("loyalty_program_tier"), None + ) # 10000 does not surpass the first tier (11000) self.assertEqual(lpe.get("loyalty_program_tier"), customer.loyalty_program_tier) self.assertEqual(lpe.loyalty_points, earned_points)