From 3cf175eac9363b8cfa5a2b3adfe192e595887984 Mon Sep 17 00:00:00 2001 From: Guillermo Hernandez Date: Mon, 2 Feb 2026 12:32:39 -0600 Subject: [PATCH] Update writing-good-unit-tests-dont-mock-database-connections.md Replaced "heroine" (female hero) with "heroin", an opioid you inject --- .../writing-good-unit-tests-dont-mock-database-connections.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/clean-code/writing-good-unit-tests-dont-mock-database-connections.md b/content/clean-code/writing-good-unit-tests-dont-mock-database-connections.md index 2f62630f..9dd0cc28 100644 --- a/content/clean-code/writing-good-unit-tests-dont-mock-database-connections.md +++ b/content/clean-code/writing-good-unit-tests-dont-mock-database-connections.md @@ -12,9 +12,9 @@ Several years ago I started my first job as a "senior" Go developer. You see, af Yup, as a senior developer only a few years out of college with no kids and a 6 figure salary, life was looking pretty easy. Well, it _would_ have been easy. It would have been easy if the mind-numbing, gelatinous, corporate goo known as _Java_ (it runs on billions of devices btw) hadn't chipped away at the once great minds of my new colleagues. -We're going to talk about my struggles with unit tests at this new company. And mocks. And heroine injections. Erm, I mean dependency injections. _(but tbh both are just as bad for you)_ +We're going to talk about my struggles with unit tests at this new company. And mocks. And heroin injections. Erm, I mean dependency injections. _(but tbh both are just as bad for you)_ -![pam with heroine injections dependency injection](/img/800/heroinedeps.png.webp) +![pam with heroin injections dependency injection](/img/800/heroinedeps.png.webp) **BUT...** before we do that, let me tell a quick story to give you some context about this new job.