"Create Person CRM Contact" Unit Test

Created on 4 September 2025, about 1 month ago

Problem/Motivation

The CRM app lacks basic CRUD unit tests. Since I'm new to Drupal I'm going to keep the scope of this ticket small and only add a test for the happy path creation of a Person CRM Contact. I'm basing this on what's tested in item 4 in the list defined in this PR: https://git.drupalcode.org/project/crm/-/merge_requests/97/diffs

Remaining tasks

1) Identify the process I'm creating the test for and describe it in this ticket. This would normally be overkill, but since I'm new it's nice to set milestones, and seeing that I understand what I'm testing might make things easier for the reviewer.

2) Identify Drupal unit test best practices, add links to this ticket. Again, normally overkill but milestones are nice.

3) Code the unit test, verify locally, submit a PR for review.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada speckles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024