@@ -106,8 +106,8 @@ public function testControllerDispatchedWithValidFormDataWillCompleteAndRedirect
106106
107107 $ req = $ this ->controller ->getRequest ();
108108 $ req ->setMethod (Request::METHOD_POST );
109- $ req ->getPost ()->set ('foo ' , [ 'bar ' => 'baz ' ] );
110- $ req ->getPost ()->set ('zfcuser ' , [ 'id ' => 42 ] );
109+ $ req ->getPost ()->set ('foo ' , array ( 'bar ' => 'baz ' ) );
110+ $ req ->getPost ()->set ('zfcuser ' , array ( 'id ' => 42 ) );
111111
112112 $ postData = $ req ->getPost ()->toArray ();
113113 $ mockResult = new \stdClass ();
@@ -135,8 +135,8 @@ public function testControllerDispatchedWithInvalidFormDataWillRenderForm()
135135
136136 $ req = $ this ->controller ->getRequest ();
137137 $ req ->setMethod (Request::METHOD_POST );
138- $ req ->getPost ()->set ('foo ' , [ 'bar ' => 'baz ' ] );
139- $ req ->getPost ()->set ('zfcuser ' , [ 'id ' => 42 ] );
138+ $ req ->getPost ()->set ('foo ' , array ( 'bar ' => 'baz ' ) );
139+ $ req ->getPost ()->set ('zfcuser ' , array ( 'id ' => 42 ) );
140140
141141 $ postData = $ req ->getPost ()->toArray ();
142142 $ mockResult = new \stdClass ();
@@ -162,8 +162,8 @@ public function testControllerWillRenderFormWhenSaveCallFails()
162162
163163 $ req = $ this ->controller ->getRequest ();
164164 $ req ->setMethod (Request::METHOD_POST );
165- $ req ->getPost ()->set ('foo ' , [ 'bar ' => 'baz ' ] );
166- $ req ->getPost ()->set ('zfcuser ' , [ 'id ' => 42 ] );
165+ $ req ->getPost ()->set ('foo ' , array ( 'bar ' => 'baz ' ) );
166+ $ req ->getPost ()->set ('zfcuser ' , array ( 'id ' => 42 ) );
167167
168168 $ postData = $ req ->getPost ()->toArray ();
169169 $ mockResult = new \stdClass ();
0 commit comments