Should work in your unit test as well. Maybe you need to call it earlier. Have you tried a static block in your unit test class?
-- Richard > On 30. Sep 2024, at 16:34, Daniel Cosio <dcco...@gmail.com> wrote: > > Any idea why it would work in the application but not in a unit test..