8000 [HttpClient] Cleanup tests by nicolas-grekas · Pull Request #63166 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
8000

Conversation

@nicolas-grekas
Copy link
Member
Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
Issues -
License MIT

Part of this cleanup is needed for #63164: command line escaping is going to be different on Windows.

@carsonbot carsonbot added this to the 6.4 milestone Jan 23, 2026
@nicolas-grekas nicolas-grekas merged commit cd84d82 into symfony:6.4 Jan 23, 2026
10 of 12 checks passed
@nicolas-grekas nicolas-grekas deleted the hc-clean branch January 23, 2026 16:02
--header %1$sAccept: */*%1$s \\
--header %1$sAccept-Encoding: gzip%1$s \\
--header %1$sUser-Agent: Symfony HttpClient (Native)%1$s',
--url http://localhost:8057/json \\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way those assertions are written now means that removing the argument escaping in the implementation would not make test fail. Is it really what we want for cleaner tests ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the issue is that escaping changes from one version to another 😬
I'm open another way if anyone is up to dig this 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0