We've used putenv() to set environment variables in tests forcing us to reload the environment. We don't have to if we use the config helper in Laravel instead.
Hopefully this will result in slightly better code.