This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
AbstractControllerTestCase fails with multidimensional params array #6636
Comments
Ocramius
pushed a commit
that referenced
this issue
Dec 30, 2014
…al params array Added test method testCanHandleMultidimensionalParams to \ZendTest\Test\PHPUnit\Controller\AbstractControllerTestCaseTest that isolates the issue Fixed the bug by using http_build_query instead of the self-written code to generate the Request-Content
Ocramius
added a commit
that referenced
this issue
Dec 30, 2014
Handled in #6637 |
gianarb
pushed a commit
to zendframework/zend-test
that referenced
this issue
May 15, 2015
…e fails with multidimensional params array Added test method testCanHandleMultidimensionalParams to \ZendTest\Test\PHPUnit\Controller\AbstractControllerTestCaseTest that isolates the issue Fixed the bug by using http_build_query instead of the self-written code to generate the Request-Content
gianarb
pushed a commit
to zendframework/zend-test
that referenced
this issue
May 15, 2015
…dding `@group` annotations for newly introduced tests
gianarb
pushed a commit
to zendframework/zend-test
that referenced
this issue
May 15, 2015
…endframework#6637-abstract-controller-test-case-support-multidimensional-urlencoded-params' Close zendframework/zendframework#6636 Close zendframework/zendframework#6637
gianarb
pushed a commit
to zendframework/zend-test
that referenced
this issue
May 15, 2015
…endframework#6637-abstract-controller-test-case-support-multidimensional-urlencoded-params' into develop Close zendframework/zendframework#6636 Close zendframework/zendframework#6637 Forward port zendframework/zendframework#6636 Forward port zendframework/zendframework#6637
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If a multidimensional params array is passed to
\Zend\Test\PHPUnit\Controller\AbstractControllerTestCase->dispatch
with PUT as HTTP-MethodAbstractControllerTestCase
fails with error message "Array to string conversion”.For example the following line fails:
$this->dispatch('/tests', 'PUT', array('a' => array('b' => 1)));
The text was updated successfully, but these errors were encountered: