If you've ever found yourself needing to make assertions in your tests based on production environment flags, you may have stumbled into issues overriding the application environment using config overrides or the application container.
In this video, we'll step through some of the more natural approaches, before taking a look how Laravel's facades and their built-in testing functionality can not only provide you the behaviour you're after but also give you some durable tests to verify it.
Негізгі бет Ғылым және технология Simulate production in your Laravel tests
Пікірлер: 5