CareTogether / CareTogetherCMS

An open-source case management system (CMS) for nonprofits connecting families to caring communities.
https://caretogether.io
GNU Affero General Public License v3.0
14 stars 6 forks source link

Update test data provider #768

Open PabloDinella opened 1 month ago

PabloDinella commented 1 month ago

I enriched TestDataProvider with some data, such as some assignments to 1 of the Friending arrangements, to ease the testing during development and have more examples.

I also added a one time recurrence monitoring policy called One Time Checkin, to the Friending policy, but there might be better real life example.

It's WIP still because I need to update the unit tests, might need some help to understand it first.

PabloDinella commented 2 weeks ago

I updated the branch according our last conversations. Created new families and volunteer, so existing authorization tests doesn't break. Also used variable names in a more intuitive way, like fisherFamilyGuid instead guid8, for the new family.