72 lines
3.7 KiB
YAML
72 lines
3.7 KiB
YAML
uuid:
|
|
- value: d4e3757c-36f7-45f7-a679-6292e8300200
|
|
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:18+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 tests to the Content Access by Path module'
|
|
created:
|
|
- value: '2024-03-16T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T09:00:18+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2024/03/16/adding-tests-to-the-content-access-by-path-module
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>Last month, I released the <a href="/podcast/11-mark-conroy">Beyond Blocks podcast episode</a> where I spoke with Mark Conroy.</p>
|
|
|
|
<p>We spoke about a number of things, including the 'Content Access by Path' Drupal module he wrote, and I promised I'd write some automated tests for it as there weren't any at the time.</p>
|
|
|
|
<p><a href="https://www.youtube.com/live/XTpliKd47Lg?si=o4-my-XHGvcM_mWS">Yesterday on my Friday live stream</a>, I installed the module and learnt how it works whilst writing some automated tests.</p>
|
|
|
|
<p>As is common, the first test took a little while to do as I got the setup steps working and learned how the module worked. Once that was passing, adding the others was fairly straight forward.</p>
|
|
|
|
<p>After the stream, I <a href="https://www.drupal.org/project/content_access_by_path/issues/3428680">created an issue</a> with a merge request to add the tests I wrote and enabling GitLab CI so they'll be automatically run for any other changes.</p>
|
|
|
|
<p>Hopefully, it'll be reviewed soon, but I've done what I promised, contributed to more open-source software, learned more about a new module and, hopefully, others will have learned things from the stream too.</p>
|
|
|
|
<p><a href="https://www.youtube.com/@opdavies">Subscribe to my YouTube channel</a> to be notified of future live streams!</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>Last month, I released the <a href="http://default/podcast/11-mark-conroy">Beyond Blocks podcast episode</a> where I spoke with Mark Conroy.</p>
|
|
|
|
<p>We spoke about a number of things, including the 'Content Access by Path' Drupal module he wrote, and I promised I'd write some automated tests for it as there weren't any at the time.</p>
|
|
|
|
<p><a href="https://www.youtube.com/live/XTpliKd47Lg?si=o4-my-XHGvcM_mWS">Yesterday on my Friday live stream</a>, I installed the module and learnt how it works whilst writing some automated tests.</p>
|
|
|
|
<p>As is common, the first test took a little while to do as I got the setup steps working and learned how the module worked. Once that was passing, adding the others was fairly straight forward.</p>
|
|
|
|
<p>After the stream, I <a href="https://www.drupal.org/project/content_access_by_path/issues/3428680">created an issue</a> with a merge request to add the tests I wrote and enabling GitLab CI so they'll be automatically run for any other changes.</p>
|
|
|
|
<p>Hopefully, it'll be reviewed soon, but I've done what I promised, contributed to more open-source software, learned more about a new module and, hopefully, others will have learned things from the stream too.</p>
|
|
|
|
<p><a href="https://www.youtube.com/@opdavies">Subscribe to my YouTube channel</a> to be notified of future live streams!</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|