Class ResetMaxOrderQuantityJobTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class ResetMaxOrderQuantityJobTest extends ServicelayerTransactionalTest
* Test class for testing the functionality of the ResetMaxOrderQuantityJob.
  • Constructor Details

    • ResetMaxOrderQuantityJobTest

      public ResetMaxOrderQuantityJobTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • testPerform_No_PromotionRule

      public void testPerform_No_PromotionRule()
      Test that if there is no promotion rule, the job can be performed successfully
    • testPerform_PromotionRule_Unpublished

      public void testPerform_PromotionRule_Unpublished()
      Test that if the promotion rule is unpublished, the job can be performed successfully
    • testPerform_PromotionRule_No_Product

      public void testPerform_PromotionRule_No_Product()
      Test that if there is no product, the job can be performed successfully