Skip to content

Commit d966de0

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: sync nb translations with no translations fix: added new indonesian translations Fix Norwegian translations - remove needs-review-translation status Update Luxembourgish translations by removing 'needs-review-translation' state from multiple entries in security and validator files. Improve Russian translations for video and image validators [Validator] it: approve video/image/Twig translations and fix spacing (refs #60464) [HttpFoundation] Deprecate HTTP method override for methods GET, HEAD, CONNECT and TRACE [Translation][sv] Remove needs-review on Swedish strings; align phrasing and punctuation [HttpFoundation] Add `Request::$allowedHttpMethodOverride` to list which HTTP methods can be overridden
2 parents b03decb + 2de0734 commit d966de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Controller/ProfilerControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function testOpeningDisallowedPaths($path, $isAllowed)
182182
$controller = new ProfilerController($urlGenerator, $profiler, $twig, [], null, __DIR__.'/../..');
183183

184184
try {
185-
$response = $controller->openAction(Request::create('/_wdt/open', Request::METHOD_GET, ['file' => $path]));
185+
$response = $controller->openAction(Request::create('/_wdt/open', 'GET', ['file' => $path]));
186186
$this->assertEquals(200, $response->getStatusCode());
187187
$this->assertTrue($isAllowed);
188188
} catch (NotFoundHttpException $e) {

0 commit comments

Comments
 (0)