Update ActiveFieldTest.php
This commit is contained in:
parent
e198618f82
commit
b784bfadfe
@ -177,11 +177,11 @@ HTML;
|
|||||||
$expectedHtml = <<<HTML
|
$expectedHtml = <<<HTML
|
||||||
<div class="mb-3 field-dynamicmodel-attributename">
|
<div class="mb-3 field-dynamicmodel-attributename">
|
||||||
<div class="form-check form-switch">
|
<div class="form-check form-switch">
|
||||||
<input type="hidden" name="DynamicModel[attributeName]" value="0"><input type="checkbox" id="dynamicmodel-attributename" class="form-check-input is-invalid" name="DynamicModel[attributeName]" value="1" aria-invalid="true">
|
<input type="hidden" name="DynamicModel[attributeName]" value="0"><input type="checkbox" id="dynamicmodel-attributename" class="form-check-input is-invalid" name="DynamicModel[attributeName]" value="1" role="switch">
|
||||||
<label class="form-check-label" for="dynamicmodel-attributename">Attribute Name</label>
|
<label class="form-check-label" for="dynamicmodel-attributename">Attribute Name</label>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="invalid-feedback"></div>
|
<div class="invalid-feedback"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
HTML;
|
HTML;
|
||||||
$this->assertEqualsWithoutLE($expectedHtml, $html);
|
$this->assertEqualsWithoutLE($expectedHtml, $html);
|
||||||
|
Loading…
Reference in New Issue
Block a user