Skip to content

Unit Test/Balance HistoryΒ #3

@fanesz

Description

@fanesz

Todo:

  • Unit Test for Get History

Make sure to test on approving financial request and approving kas submission.
Make sure to clear the dummy data after test automatically.

  • Get History

    Response:

    {
      "status": true,
      "status_code": 200,
      "message": "Success getting balance history",
      "data": [
        {
          "amount": 10000,
          "activity": "Add",
          "note": "[kas pay]",
          "user": {
            "npm": "2125240021"
          },
          "created_at": "2024-05-12T10:09:37.88331+08:00"
        }
      ]
    }

    Possibility Fail: Balance not initialized yet (500)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Pending

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions