Skip to content

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