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

test(analyzer): Fix a locally failing test case #1969

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oheger-bosch
Copy link
Contributor

The test case "throw an exception if the VCS type cannot be determined from the URL" was failing on local execution due to an IOException because of a missing local Mercurial installation. To prevent this, use mocking in this case, so that the test does not depend on the local environment.

The test case "throw an exception if the VCS type cannot be determined
from the URL" was failing on local execution due to an `IOException`
because of a missing local Mercurial installation. To prevent this, use
mocking in this case, so that the test does not depend on the local
environment.

Signed-off-by: Oliver Heger <[email protected]>
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