Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Apr 3, 2024
1 parent 82b3d98 commit 102d24f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions tests/Block/Service/RssBlockServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public function testExecute(): void

$this->twig->expects(static::once())->method('render')
->with('@SonataBlock/Block/block_core_rss.html.twig', [
'feeds' => false,
'block' => $block,
'settings' => [
'title' => 'foo',
'url' => 'http://example.com',
],
'feeds' => false,
'block' => $block,
'settings' => [
'title' => 'foo',
'url' => 'http://example.com',
],
]);

$service = new RssBlockService($this->twig);
Expand Down
4 changes: 2 additions & 2 deletions tests/Block/Service/TextBlockServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public function testExecute(): void

$this->twig->expects(static::once())->method('render')
->with('@SonataBlock/Block/block_core_text.html.twig', [
'block' => $block,
'settings' => ['content' => 'foo'],
'block' => $block,
'settings' => ['content' => 'foo'],
]);

$service = new TextBlockService($this->twig);
Expand Down

0 comments on commit 102d24f

Please sign in to comment.