Provide test trait with helper methods

Created on 18 October 2020, about 4 years ago
Updated 6 June 2024, 7 months ago

Problem/Motivation

GroupKernelTestBase.php provides methods to create a new group type and group entity, which is cool, but there is no good way to reuse these methods in other contrib modules that rely on Group module and would like to add some test coverage.

Proposed resolution

Introduce GroupTestTrait.php (similar to TaxonomyTestTrait.php), which will contain helper methods and will be easier to re-use in other modules or test types inside the Group module.

Remaining tasks

Review the patch.

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Matroskeen πŸ‡ΊπŸ‡¦ Ukraine, Lutsk

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024