Skip to content

Commit

Permalink
minor #26303 [WebProfilerBundle] fix test after ajax path updated (Si…
Browse files Browse the repository at this point in the history
…mperfit)

This PR was merged into the 3.4 branch.

Discussion
----------

[WebProfilerBundle] fix test after ajax path updated

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

Fixing the WebProfilerBundle test after the merge in 3.4.

Commits
-------

77dfc90 [WebProfilerBundle] fix test after ajax path updated
  • Loading branch information
fabpot committed Feb 25, 2018
2 parents 51c20fc + 77dfc90 commit 84fd602
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function getDebugModes()
public function getPositionConfig()
{
return array(
array(array('position' => 'top'), array('intercept_redirects' => false, 'toolbar' => false, 'excluded_ajax_paths' => '^/(app(_[\\w]+)?\\.php/)?_wdt', 'position' => 'top')),
array(array('position' => 'bottom'), array('intercept_redirects' => false, 'toolbar' => false, 'excluded_ajax_paths' => '^/(app(_[\\w]+)?\\.php/)?_wdt', 'position' => 'bottom')),
array(array('position' => 'top'), array('intercept_redirects' => false, 'toolbar' => false, 'excluded_ajax_paths' => '^/((index|app(_[\w]+)?)\.php/)?_wdt', 'position' => 'top')),
array(array('position' => 'bottom'), array('intercept_redirects' => false, 'toolbar' => false, 'excluded_ajax_paths' => '^/((index|app(_[\w]+)?)\.php/)?_wdt', 'position' => 'bottom')),
);
}
}

0 comments on commit 84fd602

Please sign in to comment.