Skip to content

Tests for MakeUserCommand #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 14, 2025
Merged

Conversation

danjohnson95
Copy link
Contributor

This is based off a recent conversation in Discord - frank42 mentioned that a user is being created as a non-admin even when they said "Yes" to the admin prompt.

I can't replicate that particular bug, but I thought it'd be good to have some tests on this command anyway.

This also fixes a bug where if the arguments are passed directly to the command, and you're creating a non-admin user, the command would still ask if the user should be an admin.

@jbrooksuk jbrooksuk merged commit f884a79 into cachethq:main Apr 14, 2025
31 checks passed
@jbrooksuk jbrooksuk added this to the v3.0 milestone Apr 14, 2025
@jbrooksuk
Copy link
Member

Thanks @danjohnson95!

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