Skip to content

Commit

Permalink
Update placeholders test
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Nov 5, 2024
1 parent 9ea396d commit 8ce5230
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/TestCase/View/Helper/PlaceholdersHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function setUp(): void
'params' => [
'body' => [[
'offset' => 15,
'length' => 18,
'length' => 25,
]],
],
],
Expand All @@ -88,8 +88,8 @@ public function setUp(): void
'relation' => [
'params' => [
'body' => [[
'offset' => 37,
'length' => 18,
'offset' => 44,
'length' => 25,
'params' => [
'class' => 'test',
],
Expand All @@ -101,7 +101,7 @@ public function setUp(): void
$this->object = new ObjectEntity([
'id' => 1,
'type' => 'objects',
'body' => '<p>Hello World <!-- TEMPLATE1 --></p><!-- TEMPLATE2 -->',
'body' => '<p>Hello World <!-- BE-PLACEHOLDER.2 --></p><!-- BE-PLACEHOLDER.3 -->',
'placeholder' => [$this->image1, $this->image2],
]);
}
Expand Down

0 comments on commit 8ce5230

Please sign in to comment.