https://linen.dev logo
l

Leszek Izdebski

02/06/2023, 10:44 AM
Hi all, I have TestBase with two method mockInvalidAuthentication and mockAuthentication. Also I have few test classes, first start class where I mocked invalid auth and I cannot reset it for other test classes I have 401 error. How I can fix it? I use all method from wiremock library, ex. doNotDeleteExistingStubs, deleteAllExistingStubsNotInImport. Thanks for answers.