Skip to content

[Testing] Fix broken link #12881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2020
Merged

Conversation

MrYamous
Copy link
Contributor

@MrYamous MrYamous commented Jan 2, 2020

Fix a broken link here : https://symfony.com/doc/current/testing.html#ajax-requests

Symfony/Component/BrowserKit/Client has been replaced by Symfony/Component/BrowserKit/AbstractBrowser in 5.0

@javiereguiluz
Copy link
Member

You are right ... but instead of AbstractBrowser, which is an abstract class that cannot be instantiated ... we should use HttpBrowser, right?

@MrYamous
Copy link
Contributor Author

MrYamous commented Jan 3, 2020

Yes, HttpBrowser should be used, but I think that since the goal here is to show the xmlHttpRequest method, it makes sense to point to the file that implements it, do you agree ?

Or, as there are some other methods from the same page that do not point to their implementation, perhaps this link can be removed if it is not necessary.

@HeahDude
Copy link
Contributor

Using AbstractBrowser sounds good to me, this Client class was abstract as well.

@javiereguiluz
Copy link
Member

Merged! Sorry it took us so long. Thanks.

@javiereguiluz javiereguiluz merged commit d2b37f9 into symfony:5.0 Mar 12, 2020
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.

4 participants