Skip to content

Commit

Permalink
Fixed build on 2.3 and 2.7 (#1209)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and greg0ire committed Feb 23, 2017
1 parent 1ef907b commit 02eb54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Admin/BaseMediaAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private function configureGetProviderName($media)
{
// NEXT_MAJOR remove this block when dropping sf < 2.8 compatibility
if (method_exists('Symfony\Component\HttpFoundation\JsonResponse', 'transformJsonError')) {
$this->request->get('uniqid[providerName]')->willReturn('providerName');
$this->request->get('uniqid[providerName]', null, true)->willReturn('providerName');
} else {
$this->request->get('uniqid')->willReturn(array('providerName' => 'providerName'));
}
Expand Down

0 comments on commit 02eb54b

Please sign in to comment.