June 26, 2020

Backend Tests AS Project

CompanyController

- new methods:

  1. getOverview (need to test response structure)
  2. getProjects (need to test if there are related projects)
  3. getRetainers (need to test if there are related retainers)
  4. getInfo (need to test response structure)

- updated methods:

  1. index (added search, filter, sort)

ContactController

- updated methods:

  1. store (added functionality for attach created contact to polymorph models, for example Company)

JiraFilterController

- updated methods:

  1. index (search by jql)

ProjectController

- new methods:

  1. getProjectStatuses (need to test response structure, statuses returned from Project static property)

- updated methods:

  1. index (added search, filter, sort)

RetainerController

- updated methods:

  1. index (added search)
  2. store (added calculation of monthly budget)
  3. update (added calculation of monthly budget)

Also created new Controller - SettingsController

- methods:

  1. getDateFormats (for form selector)
  2. getMoneyLocales (for form selector)
  3. getFormats (get current tenant regional settings)
  4. saveFormats (save tenant regional settings)