Uploaded image for project: 'mod-feesfines'
  1. mod-feesfines
  2. MODFEE-126

Fee/fine cancellation endpoint does not create fee/fine actions correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 99
    • Story Points:
      1
    • Development Team:
      Vega

      Description

      Here is an example of a fee/fine action created by cancellation endpoint:

      {
            "dateAction": "2020-10-06T11:10:59.945+0000",
            "typeAction": "Cancelled as error",
            "comments": "STAFF : ghjkl;",
            "notify": true,
            "balance": 1790.0,
            "createdAt": "7c5abc9f-f3d7-4856-b8d7-6712462ca007",
            "source": "ADMINISTRATOR, DIKU",
            "accountId": "745b7884-61f8-401a-9f91-2b419aa34522",
            "userId": "07d4252b-b217-4d7c-afc6-132c5e74d03b",
            "id": "c1b94d20-e03e-49d1-bd17-a3b801daa0b3"
          }
      

      Expected:

      • "balance" is zero (0.0)
      • "amountAction" is present and equal to fee/fine's initial amount

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                OleksandrVidinieiev Oleksandr Vidinieiev
                Reporter:
                OleksandrVidinieiev Oleksandr Vidinieiev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases