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

Testing: unneeded interaction with %ENV #622

Closed
1 task done
bschmalhofer opened this issue Nov 5, 2020 · 2 comments
Closed
1 task done

Testing: unneeded interaction with %ENV #622

bschmalhofer opened this issue Nov 5, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Nov 5, 2020

Some test scripts are messing with the environment. This is sensible in some cases. In other cases my suspicion is that this is not needed any more.

TODO:

  • Check the files reported by: grep -r ENV scripts/test/ | grep -v OTOBO_RUNS_UNDER_DOCKER | grep -v TZ | grep -v SKIP_NUTSANDBOLTS_TEST | grep -v COMP_LINE
@bschmalhofer
Copy link
Contributor Author

Setting up a CGI environment was useless in only a single test script, that is PossibleValuesGet.t.
I added some code comments in the other scripts for explaining why %ENV is fiddled with.

bschmalhofer added a commit that referenced this issue Nov 10, 2020
@bschmalhofer
Copy link
Contributor Author

PR is merged, closing the issue.

@bschmalhofer bschmalhofer self-assigned this Nov 28, 2021
@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1, OTOBO 10.1.1 Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant