Closed wouterj closed 10 years ago
This looks like an issue in BrowserKit here. Can you try to run the same kind of form submission in a BrowserKit testcase to verify it ?
Also, what is the version of the Symfony component that you use currently ?
@stof how could I do this with a browserkit test case, I do need some sort of Client implementation, don't I?
I'm using 2.5.5
Hmm, tried it with the DomCrawler and it indeed gave me the wrong URL. I'll reopen this issue in the symfony repo
I'm using
~1.0
of this driver and I try to submit a form with an empty action. The form should be posted to its own file, but for some reason the href value of the<base>
element is taken instead. This means all my tests fail :(To replicate this issue:
http://localhost/some/form.phtml
formtest.php