File tree 1 file changed +8
-2
lines changed
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -433,7 +433,10 @@ public function testLockCanBeDisabled()
433
433
$ configuration = new Configuration (true );
434
434
435
435
$ config = $ processor ->processConfiguration ($ configuration , [
436
- ['lock ' => ['enabled ' => false ]],
436
+ [
437
+ 'http_method_override ' => false ,
438
+ 'lock ' => ['enabled ' => false ],
439
+ ],
437
440
]);
438
441
439
442
$ this ->assertFalse ($ config ['lock ' ]['enabled ' ]);
@@ -448,7 +451,10 @@ public function testEnabledLockNeedsResources()
448
451
$ this ->expectExceptionMessage ('Invalid configuration for path "framework.lock": At least one resource must be defined. ' );
449
452
450
453
$ processor ->processConfiguration ($ configuration , [
451
- ['lock ' => ['enabled ' => true ]],
454
+ [
455
+ 'http_method_override ' => false ,
456
+ 'lock ' => ['enabled ' => true ],
457
+ ],
452
458
]);
453
459
}
454
460
You can’t perform that action at this time.
0 commit comments