8000 Merge branch '6.1' into 6.2 · symfony/symfony@1307e66 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1307e66

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: explicitly disable HTTP method overrides in tests
2 parents f3a180b + 300dc26 commit 1307e66

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,10 @@ public function testLockCanBeDisabled()
433433
$configuration = new Configuration(true);
434434

435435
$config = $processor->processConfiguration($configuration, [
436-
['lock' => ['enabled' => false]],
436+
[
437+
'http_method_override' => false,
438+
'lock' => ['enabled' => false],
439+
],
437440
]);
438441

439442
$this->assertFalse($config['lock']['enabled']);
@@ -448,7 +451,10 @@ public function testEnabledLockNeedsResources()
448451
$this->expectExceptionMessage('Invalid configuration for path "framework.lock": At least one resource must be defined.');
449452

450453
$processor->processConfiguration($configuration, [
451-
['lock' => ['enabled' => true]],
454+
[
455+
'http_method_override' => false,
456+
'lock' => ['enabled' => true],
457+
],
452458
]);
453459
}
454460

0 commit comments

Comments
 (0)
0