BB: Use put_json() to reset credentials

This commit is contained in:
Mike Salvatore 2022-08-05 09:34:57 -04:00
parent 1568cf8f0a
commit 3362959c73
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class MonkeyIslandClient(object):
assert False
def _reset_credentials(self):
if self.requests.delete("api/propagation-credentials/configured-credentials").ok:
if self.requests.put_json("api/propagation-credentials/configured-credentials", json=[]).ok:
LOGGER.info("Resseting configured credentials after the test.")
else:
LOGGER.error("Failed to reset configured credentials")