1.4 KiB
title | date | permalink | tags | cta | snippet | |||||
---|---|---|---|---|---|---|---|---|---|---|
Adding automated tests to Content Access by Path | 2024-08-01 | daily/2024/08/01/adding-automated-tests-to-content-access-by-path |
|
~ | I contributed automated tests to the Content Access by Path Drupal module. |
Back in episode 11 of the Beyond Blocks podcast, my guest was Mark Conroy and we discussed various things including his Running Plan Generator and the Content Access By Path Drupal module.
Written for the LocalGov Drupal distribution, as its name suggests, the module allows for setting permissions to maintain content based on its path.
I had a quick look at the module whilst recording and mentioned there were no automated tests, and I was invited to write and contribute some.
I did, live on YouTube, and created a merge request for the module for review.
Today, that merge request was approved and the tests were added to the module, so I'm officially a contributor to that module.
I also added GitLab configuration, so the tests will automatically run for every change and help avoid regressions in the future.