Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
didoda committed Sep 25, 2024
1 parent 322d7aa commit 66bbc93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Form/CustomComponentControlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function controlProvider(): array
'default simple' => [
[
'type' => '',
'html' => '<key-value-list label="field1" name="field1" value="" :readonly=false></key-value-list>',
'html' => '<key-value-list label="Field1" name="field1" value="" :readonly=false></key-value-list>',
'readonly' => false,
],
'field1',
Expand All @@ -58,7 +58,7 @@ public function controlProvider(): array
'json encoded' => [
[
'type' => 'json',
'html' => '<key-value-list label="some_field" name="some_field" value="{&quot;a&quot;:&quot;b&quot;}" :readonly=true></key-value-list>',
'html' => '<key-value-list label="Some Field" name="some_field" value="{&quot;a&quot;:&quot;b&quot;}" :readonly=true></key-value-list>',
'readonly' => true,
],
'some_field',
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/View/Helper/PropertyHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function controlProvider(): array
[
'name' => 'descr',
],
'<dummy label="descr" name="descr" value="something" :readonly=false></dummy>',
'<dummy label="Descr" name="descr" value="something" :readonly=false></dummy>',
'<dummy label="descr" name="translated_fields[descr]" value="something" :readonly=false></dummy>',
],
'html readonly' => [
Expand All @@ -144,7 +144,7 @@ public function controlProvider(): array
[
'name' => 'descr',
],
'<dummy label="descr" name="descr" value="something" :readonly=true></dummy>',
'<dummy label="Descr" name="descr" value="something" :readonly=true></dummy>',
'<dummy label="descr" name="translated_fields[descr]" value="something" :readonly=true></dummy>',
],
'date readonly' => [
Expand Down

0 comments on commit 66bbc93

Please sign in to comment.