Commit 9ad2cbf
authored
fix: add ATLASSIAN_OAUTH_ENABLE to clean_env mock environment (#587)
The test_no_services_configured test was failing because ATLASSIAN_OAUTH_ENABLE
environment variable was not being cleared in MockEnvironment.clean_env().
This caused the get_available_services() function to detect OAuth configuration
even in a supposedly clean environment.
Added ATLASSIAN_OAUTH_ENABLE to the list of variables cleared by clean_env()
to ensure tests run with a truly clean environment.1 parent 31e637b commit 9ad2cbf
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments