Problem/Motivation
#2468873: Test that the authentication provider doesn't leak authentication credentials from the previous request introduced a reusable BasicAuthTestTrait providing the basicAuthGet which does not suffer from leaking curloptions to subsequent requests.
Proposed resolution
Use the new trait in the original basic auth test.
Remaining tasks
Review & Commit.
User interface changes
None.
API changes
None.
Beta phase evaluation
| Issue category | Task |
|---|---|
| Issue priority | Normal |
| Unfrozen changes | Unfrozen because it only changes tests. |
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | use_basicauthtesttrait-2479515-1.patch | 1.81 KB | znerol |
Comments
Comment #1
znerol commentedComment #2
znerol commentedComment #3
pfrenssenVery straightforward fix. This improves code reuse and reduces duplicated code. This is only affecting test code so this is unfrozen and allowed according to the beta criteria. Thanks!
Comment #4
webchickNice catch.
Committed and pushed to 8.0.x. Thanks!