-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps the dev-dependencies group in /website with 1 update: [typescript](https://github.com/Microsoft/TypeScript). Updates `typescript` from 5.5.2 to 5.5.3 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.2...v5.5.3) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Emilien Escalle <[email protected]>
- Loading branch information
1 parent
b104a58
commit db90b9e
Showing
10 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/TestSuite/Documentation/Tests/__snapshots__/Forms/Validation/Custom_styles__1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/TestSuite/Documentation/Tests/__snapshots__/Forms/Validation/Tooltips__1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
tests/TestSuite/TwbsHelper/Form/View/Helper/FormRowTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
|
||
namespace TestSuite\TwbsHelper\Form\View\Helper; | ||
|
||
class FormRowTest extends \TestSuite\TwbsHelper\AbstractViewHelperTestCase | ||
{ | ||
/** | ||
* @var \TwbsHelper\Form\View\Helper\FormRow | ||
*/ | ||
protected $helper = 'formRow'; | ||
|
||
public function testRenderWithPartial() | ||
{ | ||
$factory = new \Laminas\Form\Factory(); | ||
|
||
$form = $factory->create([ | ||
'type' => 'form', | ||
'elements' => [ | ||
[ | ||
'spec' => [ | ||
'name' => 'test', | ||
], | ||
], | ||
], | ||
]); | ||
|
||
$this->assertEquals( | ||
'{"element":{},"label":null,"labelAttributes":[],"labelPosition":"prepend","renderErrors":true}', | ||
$this->helper->__invoke( | ||
$form, | ||
null, | ||
null, | ||
'test/json' | ||
) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?= $this->json([ | ||
'element' => $this->element, | ||
'label' => $this->label, | ||
'labelAttributes' => $this->labelAttributes, | ||
'labelPosition' => $this->labelPosition, | ||
'renderErrors' => $this->renderErrors, | ||
]) ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters