From a0d58b515163541eb321f51630b4a6f24b199fc2 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Fri, 31 Jan 2020 14:57:29 +0100 Subject: [PATCH] Update deprecated assert for phpunit 8 compat --- tests/Block/ContainerBlockServiceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Block/ContainerBlockServiceTest.php b/tests/Block/ContainerBlockServiceTest.php index 8a63a2c..dbe8f8f 100644 --- a/tests/Block/ContainerBlockServiceTest.php +++ b/tests/Block/ContainerBlockServiceTest.php @@ -72,7 +72,7 @@ public function testLayout(): void $service->execute($blockContext); - $this->assertInternalType('array', $this->templating->parameters['decorator']); + $this->assertIsArray($this->templating->parameters['decorator']); $this->assertArrayHasKey('pre', $this->templating->parameters['decorator']); $this->assertArrayHasKey('post', $this->templating->parameters['decorator']); $this->assertSame('before', $this->templating->parameters['decorator']['pre']);