X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FDependencyInjection%2FCompiler%2FStackedKernelPassTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FDependencyInjection%2FCompiler%2FStackedKernelPassTest.php;h=017dedb93d4f06e92f747a0776e8e4352a581f30;hp=9890ff94cd068abeda150599480d5a1d411ab20c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php b/web/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php index 9890ff94c..017dedb93 100644 --- a/web/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php +++ b/web/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php @@ -51,12 +51,12 @@ class StackedKernelPassTest extends UnitTestCase { $stacked_kernel_args = $this->containerBuilder->getDefinition('http_kernel')->getArguments(); // Check the stacked kernel args. - $this->assertSame((string) $stacked_kernel_args[0], 'http_kernel.one'); + $this->assertSame('http_kernel.one', (string) $stacked_kernel_args[0]); $this->assertCount(4, $stacked_kernel_args[1]); - $this->assertSame((string) $stacked_kernel_args[1][0], 'http_kernel.one'); - $this->assertSame((string) $stacked_kernel_args[1][1], 'http_kernel.two'); - $this->assertSame((string) $stacked_kernel_args[1][2], 'http_kernel.three'); - $this->assertSame((string) $stacked_kernel_args[1][3], 'http_kernel.basic'); + $this->assertSame('http_kernel.one', (string) $stacked_kernel_args[1][0]); + $this->assertSame('http_kernel.two', (string) $stacked_kernel_args[1][1]); + $this->assertSame('http_kernel.three', (string) $stacked_kernel_args[1][2]); + $this->assertSame('http_kernel.basic', (string) $stacked_kernel_args[1][3]); // Check the modified definitions. $definition = $this->containerBuilder->getDefinition('http_kernel.one');