Skip to content

Commit e4cfe0b

Browse files
Merge branch '7.3' into 7.4
* 7.3: [Scheduler] Fix `scheduler.task` tag arguments optionality use false instead of null to hide the currency symbol [FrameworkBundle] Fix block type from `OK` to `ERROR` when local vault is disabled in `SecretsRemoveCommand` Fix wrong boolean values minor #61328 [FrameworkBundle] Decouple ControllerResolverTest from HttpKernel (nicolas-grekas) [Messenger] Fix NoAutoAckStamp handling in Worker::flush()
2 parents 4fadd6c + 0ff2f5c commit e4cfe0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/OptionsResolverTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ public function testNormalizerCanAccessLazyOptions()
14521452
$this->resolver->setDefault('norm', 'baz');
14531453

14541454
$this->resolver->setNormalizer('norm', function (Options $options) {
1455-
Assert::assertEquals('bar', $options['lazy']);
1455+
Assert::assertSame('bar', $options['lazy']);
14561456

14571457
return 'normalized';
14581458
});
@@ -2746,9 +2746,9 @@ public function testResolveOptionsDefinedByOptionConfigurator()
27462746
;
27472747
$introspector = new OptionsResolverIntrospector($this->resolver);
27482748

2749-
$this->assertTrue(true, $this->resolver->isDefined('foo'));
2750-
$this->assertTrue(true, $this->resolver->isDeprecated('foo'));
2751-
$this->assertTrue(true, $this->resolver->hasDefault('foo'));
2749+
$this->assertTrue($this->resolver->isDefined('foo'));
2750+
$this->assertTrue($this->resolver->isDeprecated('foo'));
2751+
$this->assertTrue($this->resolver->hasDefault('foo'));
27522752
$this->assertSame('bar', $introspector->getDefault('foo'));
27532753
$this->assertSame(['string', 'bool'], $introspector->getAllowedTypes('foo'));
27542754
$this->assertSame(['bar', 'zab'], $introspector->getAllowedValues('foo'));

0 commit comments

Comments
 (0)