From 2b591083f00697831cb0638795bd431737448b1b Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 8 Mar 2020 18:59:29 +0000 Subject: [PATCH] Fix compile errors due to prettier changes --- source/_pages/test-driven-drupal.md | 6 +++++- source/_talks/tdd-test-driven-drupal.md | 19 +++++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/source/_pages/test-driven-drupal.md b/source/_pages/test-driven-drupal.md index 17a7fc82..9c48c2c9 100644 --- a/source/_pages/test-driven-drupal.md +++ b/source/_pages/test-driven-drupal.md @@ -6,6 +6,7 @@ contact_email: 'oliver@testdrivendrupal.com' {% block content %} +
Having [given talks][1] and workshops, been a guest on podcasts and [written articles][0] about automated testing in Drupal, I’m currently in the planning phase of a book and potentially some accompanying screencasts about it, focussing on Drupal 8. @@ -49,7 +50,10 @@ and be notified of any updates.**
-{% include 'pages/book/signup-form' %} {% endblock %} +{% include 'pages/book/signup-form' %} + + +{% endblock %} [0]: /articles/tags/testing [1]: /talks/tdd-test-driven-drupal diff --git a/source/_talks/tdd-test-driven-drupal.md b/source/_talks/tdd-test-driven-drupal.md index 71501de0..7d2376dd 100644 --- a/source/_talks/tdd-test-driven-drupal.md +++ b/source/_talks/tdd-test-driven-drupal.md @@ -37,11 +37,14 @@ events: time: '14:00 - 14:45' --- -{% block content %} Testing is important. Why? It allows developers to add new -features and edit and refactor existing code without the worry of adding -regressions, reduces the reliance on manual testing to discover bugs, and by -taking a test driven approach, your implementation code is leaner as you only -write what is needed for your tests to pass. +{% block content %} + + +Testing is important. Why? It allows developers to add new features and edit and +refactor existing code without the worry of adding regressions, reduces the +reliance on manual testing to discover bugs, and by taking a test driven +approach, your implementation code is leaner as you only write what is needed +for your tests to pass. Drupal 7 includes the SimpleTest module for unit and functional testing, whilst Drupal 8 also includes and supports PHPUnit - the defacto PHP testing framework, @@ -53,10 +56,14 @@ to core, or when working on your own projects. In this talk, we’ll cover the methodology and terminology involved with automated testing, and then take a test driven approach to creating a new Drupal -module. {% endblock %} +module. + + +{% endblock %} {% block tweets %} +
{% include 'tweet' with {