Skip to content

Commit 4ed8624

Browse files
Fix wrong boolean values
1 parent acf463a commit 4ed8624

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/DataCollector/LoggerDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testCollectWithUnexpectedFormat()
3333

3434
$c = new LoggerDataCollector($logger, __DIR__.'/');
3535
$c->lateCollect();
36-
$compilerLogs = $c->getCompilerLogs()->getValue('message');
36+
$compilerLogs = $c->getCompilerLogs()->getValue(true);
3737

3838
$this->assertSame([
3939
['message' => 'Removed service "Psr\Container\ContainerInterface"; reason: private alias.'],

Tests/DependencyInjection/RegisterControllerArgumentLocatorsPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public function testAutowireAttribute()
505505
$this->assertInstanceOf(\stdClass::class, $locator->get('serviceAsValue'));
506506
$this->assertInstanceOf(\stdClass::class, $locator->get('expressionAsValue'));
507507
$this->assertSame('bar', $locator->get('rawValue'));
508-
$this->stringContains('Symfony_Component_HttpKernel_Tests_Fixtures_Suit_APP_SUIT', $locator->get('suit'));
508+
$this->assertStringContainsString('Symfony_Component_HttpKernel_Tests_Fixtures_Suit_APP_SUIT', $locator->get('suit'));
509509
$this->assertSame('@bar', $locator->get('escapedRawValue'));
510510
$this->assertSame('foo', $locator->get('customAutowire'));
511511
$this->assertInstanceOf(FooInterface::class, $autowireCallable = $locator->get('autowireCallable'));

0 commit comments

Comments
 (0)