Skip to content
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

Don't use os.Environ to actually connect to server in test #20

Open
KalleDK opened this issue Mar 25, 2022 · 0 comments
Open

Don't use os.Environ to actually connect to server in test #20

KalleDK opened this issue Mar 25, 2022 · 0 comments

Comments

@KalleDK
Copy link

KalleDK commented Mar 25, 2022

I just realized that if my environment variables had been set, the tests would have pushed random settings to a server.

This is highly dangerous if people are testing on their work machines

@KalleDK KalleDK changed the title Don't use os.Environ to actually connect to server Don't use os.Environ to actually connect to server in test Mar 25, 2022
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

No branches or pull requests

1 participant