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

fix for running unit-test as root #1959

Merged
merged 1 commit into from
Mar 12, 2020
Merged

fix for running unit-test as root #1959

merged 1 commit into from
Mar 12, 2020

Conversation

dschwoerer
Copy link
Contributor

This is the only test that fails if we run as root.
Would be nice to not having to create a user etc and still run the tests

@ZedThree
Copy link
Member

Thanks, good catch!

Ideally, we'd be able to mock out the file system for the unit tests, but then that would require us to be able to inject the mock class somehow.

@ZedThree ZedThree merged commit 8eb14aa into next Mar 12, 2020
@ZedThree ZedThree deleted the unit-root branch March 12, 2020 14:42
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.

None yet

2 participants