Skip to content

Commit

Permalink
Removed /mpm from 'url' option for last test in JqueryEngineHelper::t…
Browse files Browse the repository at this point in the history
…estRequest().
  • Loading branch information
cameri committed Oct 18, 2013
1 parent 069b309 commit 2b23423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
Expand Up @@ -228,7 +228,7 @@ public function testRequest() {
'dataExpression' => true,
'data' => '$("#someId").serialize()',
));
$expected = '$.ajax({async:true, data:$("#someId").serialize(), success:function (data, textStatus) {doFoo}, type:"post", url:"\/mpm\/people\/edit\/1", xhr:function () {return jQuery.ajaxSettings.xhr();}});';
$expected = '$.ajax({async:true, data:$("#someId").serialize(), success:function (data, textStatus) {doFoo}, type:"post", url:"\/people\/edit\/1", xhr:function () {return jQuery.ajaxSettings.xhr();}});';
$this->assertEquals($expected, $result);
}

Expand Down

0 comments on commit 2b23423

Please sign in to comment.