Skip to content

Commit

Permalink
Stop servers after executing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Naduni Pamudika committed Jan 23, 2024
1 parent adec96f commit cdce5ee
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ public static Object[][] userModeDataProvider() {

@AfterClass(alwaysRun = true)
public void destroy() throws Exception {
if (wireMockServer != null) {
wireMockServer.stop();
}
restAPIPublisher.deleteAPI(newSoapToRestAPIId);
userManagementClient.deleteRole(SOAPTOREST_ROLE);
userManagementClient.deleteUser(SOAPTOREST_TEST_USER);
Expand Down

0 comments on commit cdce5ee

Please sign in to comment.