File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ public static function handleDataProvider()
7070 return array (
7171 'jQuery callback syntax ' => array (array ('callback ' => 'jQuery171065827149929257_1343950463342 ' )),
7272 'YUI callback syntax ' => array (array ('callback ' => 'YUI.Env.JSONP._12345 ' )),
73- 'custom callback param ' => array (array ('custom ' => '1234 ' )),
74- 'custom callback filter ' => array (array ('custom ' => '1234.asdas.122 ' ), false ),
73+ 'jQuery custom syntax ' => array (array ('custom ' => 'jQuery171065827149929257_1343950463342 ' )),
74+ 'YUI custom syntax ' => array (array ('custom ' => 'YUI.Env.JSONP._12345 ' ) ),
7575 );
7676 }
7777
7878 /**
79- * @expectedException \Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
79+ * @expectedException \Symfony\Component\HttpKernel\Exception\BadRequestHttpException
8080 * @dataProvider getCallbackFailureDataProvider
8181 */
8282 public function testGetCallbackFailure (Request $ request )
@@ -119,8 +119,6 @@ public function getCallbackFailureDataProvider()
119119 return array (
120120 'no callback ' => array (new Request ()),
121121 'incorrect callback param name ' => array (new Request (array ('foo ' => 'bar ' ))),
122- 'incorrect callback param value ' => array (new Request (array ('callback ' => 'ding.dong ' ))),
123- 'incorrect callback param name and value ' => array (new Request (array ('foo ' => 'bar ' ))),
124122 );
125123 }
126124}
You can’t perform that action at this time.
0 commit comments