Skip to content

Commit

Permalink
Merge branch 'master' into add-categories-dataprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski authored Oct 10, 2023
2 parents 2fb7c96 + 15e981e commit 049f772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Unit/ContentObject/JsonContentObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ public function dataProvider(): array
return [
[[], '[]'],
[null, '[]'],
[['fields.' => ['test' => 'TEXT', 'test.' => ['value' => '', 'ifEmptyUnsetKey' => 1]]], json_encode([])],
[['fields.' => ['test' => 'INT', 'test.' => ['value' => '1', 'ifEmptyUnsetKey' => 1]]], json_encode(['test' => 1])],
[['if.' => ['isTrue' => 0], 'fields.' => ['test' => 'TEXT', 'test.' => ['value' => '1']]], ''],
[['if.' => ['isTrue' => 1], 'fields.' => ['test' => 'TEXT', 'test.' => ['value' => '1']]], json_encode(['test' => '1'])],
[['stdWrap.' => ['wrap' => '{"wrapped":|}']], json_encode(['wrapped' => []])],
Expand Down

0 comments on commit 049f772

Please sign in to comment.