Twitterings and ramblings of Sophie Shanahan-Kluth

Recent posts

Welcome to the site of Sophie S-K, a Drupal developer based in Bristol, UK.

Testing https redirects in Docksal

Redirecting http:// to https:// is standard practice, but how do you test that locally if the redirect depends on environment variables and a certain set of paths?

Running functional JavaScript tests in Docksal

Running PHPUnit tests in Docksal is straightforward, but we struggled to get Functional JavaScript tests to run within Docksal. Here's how we got them working.

Creating fields in update hooks on Drupal 8

You've got an update hook that depends on a new field that depends on config import that needs to be done after the update hook has run that requires the config import that needs... ARGH.