Commit 633cd2d
fix(tests): expect proxy config keys as injected in connector-migration-test
config/test.json configures http_proxy, https_proxy and no_proxy, so
injectProxyConfiguration always adds HTTP_PROXY, HTTPS_PROXY, NO_PROXY, and
HTTPS_PROXY_REJECT_UNAUTHORIZED (always injected regardless of config) to
manager_contract_configuration in this test environment. The previous fix
incorrectly assumed these were only injected when configured and therefore
absent, causing the assertion on HTTP_PROXY to fail.
Move these keys from EXCLUDED_RUNTIME_KEYS to INJECTED_KEYS, matching actual
runtime behavior confirmed by running the integration test.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1b1ddbc commit 633cd2d
1 file changed
Lines changed: 6 additions & 4 deletions
File tree
- opencti-platform/opencti-graphql/tests/03-integration/02-resolvers
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
209 | | - | |
210 | | - | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
0 commit comments