68 lines
3.3 KiB
YAML
68 lines
3.3 KiB
YAML
uuid:
|
|
- value: b51a5709-0942-4244-b857-16e5b43ff2fb
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-05-11T09:00:08+00:00'
|
|
revision_uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
revision_log: { }
|
|
status:
|
|
- value: true
|
|
uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
title:
|
|
- value: 'Adding automated tests to Content Access by Path'
|
|
created:
|
|
- value: '2024-08-01T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T09:00:08+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2024/08/01/adding-automated-tests-to-content-access-by-path
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>Back in <a href="/podcast/11-mark-conroy">episode 11 of the Beyond Blocks podcast</a>, my guest was Mark Conroy and we discussed various things including his <a href="https://runningplangenerator.com">Running Plan Generator</a> and the <a href="https://www.drupal.org/project/content_access_by_path">Content Access By Path Drupal module</a>.</p>
|
|
|
|
<p>Written for the LocalGov Drupal distribution, as its name suggests, the module allows for setting permissions to maintain content based on its path.</p>
|
|
|
|
<p>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.</p>
|
|
|
|
<p>I did, <a href="https://www.youtube.com/live/XTpliKd47Lg">live on YouTube</a>, and <a href="https://www.drupal.org/project/content_access_by_path/issues/3428680">created a merge request</a> for the module for review.</p>
|
|
|
|
<p>Today, that merge request was approved and the tests were added to the module, so I'm officially a contributor to that module.</p>
|
|
|
|
<p>I also added GitLab configuration, so the tests will automatically run for every change and help avoid regressions in the future.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>Back in <a href="http://default/podcast/11-mark-conroy">episode 11 of the Beyond Blocks podcast</a>, my guest was Mark Conroy and we discussed various things including his <a href="https://runningplangenerator.com">Running Plan Generator</a> and the <a href="https://www.drupal.org/project/content_access_by_path">Content Access By Path Drupal module</a>.</p>
|
|
|
|
<p>Written for the LocalGov Drupal distribution, as its name suggests, the module allows for setting permissions to maintain content based on its path.</p>
|
|
|
|
<p>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.</p>
|
|
|
|
<p>I did, <a href="https://www.youtube.com/live/XTpliKd47Lg">live on YouTube</a>, and <a href="https://www.drupal.org/project/content_access_by_path/issues/3428680">created a merge request</a> for the module for review.</p>
|
|
|
|
<p>Today, that merge request was approved and the tests were added to the module, so I'm officially a contributor to that module.</p>
|
|
|
|
<p>I also added GitLab configuration, so the tests will automatically run for every change and help avoid regressions in the future.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|