Skip to content
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

Fixes Response\XmlLocation requires text value #38

Merged
merged 1 commit into from
Dec 23, 2014
Merged

Fixes Response\XmlLocation requires text value #38

merged 1 commit into from
Dec 23, 2014

Conversation

magnetik
Copy link
Contributor

Fixes #37

@magnetik
Copy link
Contributor Author

Not sure if the test should pass.

Should the code look up for already defined attributes in @attributes or should the expected test result should be adapted?

@sprak3000
Copy link
Contributor

As I just ran into this myself today with an XML based API, I have a vested interest in seeing this PR get merged in. 😄

Looking through the code you are patching and the test that is failing, I would say the test needs to be updated. You are adding new information into the result array, so the test needs to account for that now.

@mtdowling mtdowling merged commit c5316e5 into guzzle:master Dec 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Fix included] XmlLocation requires text value to have attributes
3 participants