Skip to content

fix(logout): add test for --purge - #257

Merged
zeroshade merged 2 commits into
mainfrom
purge-test
Jan 20, 2026
Merged

zeroshade merged 2 commits into
mainfrom
purge-test

Conversation

@zeroshade

Copy link
Copy Markdown
Member

No description provided.

@ianmcook

Copy link
Copy Markdown
Member

Later, if we have dbc add another file to the credentials path, but we forget to make the --purge implementation remove it, will this test fail?

@zeroshade

Copy link
Copy Markdown
Member Author

I can edit the test to validate that the directory is empty, but it would only fail if the additional file is added by auth.AddCredential

@ianmcook

Copy link
Copy Markdown
Member

Ok, I guess there's not really a good way to test for what I was imagining here, but this seems better than nothing. Thanks.

@zeroshade
zeroshade merged commit 1e9689d into main Jan 20, 2026
@zeroshade
zeroshade deleted the purge-test branch January 20, 2026 20:34
zeroshade added a commit that referenced this pull request Apr 17, 2026

This branch was previously deployed

1 inactive deployment
snapshot — d7419a3e Deployed Jan 20, 2026 by zeroshade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants