Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-891

ClientSavingsIntegrationTest has Dead Code due to if (Calendar.DAY_OF_MONTH >= 22)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Auto Closed
    • None
    • None
    • None

    Description

      while staring at ClientSavingsIntegrationTest for FINERACT-852, I noticed that in it has x2 Dead Code due to if (Calendar.DAY_OF_MONTH >= 22) ... that will always be false. I'm guessing that has was meant to check ... I'm not sure, presumably the transactionDate? That doesn't really make much sense either, as that's hard-coded to transactionDate.set(Calendar.DAY_OF_MONTH, 22); just 2 lines above.

      Someone who better understands what that test does should probably review it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: