Update ActiveFieldTest.php

This commit is contained in:
Anton 2021-11-24 13:39:15 +03:00 committed by GitHub
parent b784bfadfe
commit c35ad7ba42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ 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" role="switch"> <input type="hidden" name="DynamicModel[attributeName]" value="0"><input type="checkbox" id="dynamicmodel-attributename" class="form-check-input" 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 class="invalid-feedback"></div> <div class="invalid-feedback"></div>