Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-49497 curl: keep api private and test it using reflection.
While strictly we should not be testing private APIs, in order to get this backported to stables without changing visibility we use reflection to access to such private properties and methods. Also added one exttest to verify user agent is properly sent. Finally, fix some wrong whitespace and changed the helper class name to better alternative.
- Loading branch information
Showing
2 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters