I had developed a Laravel repo in WSL (Windows), and everything was fine.
Later, I bought a laptop with Ubuntu on it and wanted that to be my main development machine. So I downloaded my repo, copied over my various .env files, and set up the MySQL database with the appropriate schemas and users.
But my PHPUnit tests still wouldn't work.
And I was struggling to figure out from the Laravel docs what steps I'd missed.