-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Controller Test / Feature Testing output issues #1767
Comments
ControllerTester problem fixed by 1848 & 1855. |
@lonnieezell The user guide suggests that withRoutes() takes an array of mappings, but the FeatureTestCase is using an array of triplet arrays (http verb | add, URI pattern, and routing destination. Which should it be? |
@jim-parry Looks like docs are wrong in that case. Should be able to specify the HTTP verb to use like implemented. |
ok, thanks. i will update the docs as part of this |
There is a bigger problem underlying this, with testing routing rules not sticking. |
Uh-oh! Need any help on that? |
The problem I am experiencing is that the routecollection is not being updated/replaced by second & subsequent tests in the FeatureTestTestCase. I will push what I have as a WIP -maybe you can see something I am missing, thanks. |
The ControllerTester currently only gets a body in the result when the content is
echo()
in the controller. Using areturn
here doesn't work.However - the opposite problem exists with FeatureTesting.
The text was updated successfully, but these errors were encountered: