Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Update deprecated assert for phpunit 8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and greg0ire committed Feb 1, 2020
1 parent 6682da9 commit a0d58b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Block/ContainerBlockServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit a0d58b5

Please sign in to comment.