FreedomBen / libmalan

Simple TypeScript utility methods for accessing the Malan authentication service
MIT License
0 stars 1 forks source link

Fix delete user test #30

Closed FreedomBen closed 2 years ago

FreedomBen commented 2 years ago

The session token that we were using gets revoked when the user is deleted, so the test was failing with an unauthorized.

This checks that the token is indeed revoked, and then uses the root account to make sure the user 404s

FreedomBen commented 2 years ago

Ended up including this as part of #31 , so closing this request