Skip to content

Commit 63e93cf

Browse files
vudaltsovfabpot
authored andcommitted
[TwigBridge] Fixed the .form-check-input class in the bs4 templates
1 parent dc4889e commit 63e93cf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Tests/AbstractBootstrap4LayoutTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function testCheckedCheckbox()
164164
[.=" [trans]Name[/trans]"]
165165
[@class="form-check-label required"]
166166
[
167-
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][@checked="checked"][@value="1"]
167+
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class form-check-input"][@checked="checked"][@value="1"]
168168
]
169169
]
170170
'
@@ -242,7 +242,7 @@ public function testUncheckedCheckbox()
242242
./label
243243
[.=" [trans]Name[/trans]"]
244244
[
245-
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][not(@checked)]
245+
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class form-check-input"][not(@checked)]
246246
]
247247
]
248248
'
@@ -262,7 +262,7 @@ public function testCheckboxWithValue()
262262
./label
263263
[.=" [trans]Name[/trans]"]
264264
[
265-
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][@value="foo&bar"]
265+
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class form-check-input"][@value="foo&bar"]
266266
]
267267
]
268268
'
@@ -487,7 +487,7 @@ public function testSingleChoiceExpandedAttributes()
487487
./label
488488
[.=" [trans]Choice&B[/trans]"]
489489
[
490-
./input[@type="radio"][@name="name"][@id="name_1"][@value="&b"][not(@checked)][@class="foo&bar"]
490+
./input[@type="radio"][@name="name"][@id="name_1"][@value="&b"][not(@checked)][@class="foo&bar form-check-input"]
491491
]
492492
]
493493
/following-sibling::input[@type="hidden"][@id="name__token"]
@@ -863,7 +863,7 @@ public function testMultipleChoiceExpandedAttributes()
863863
./label
864864
[.=" [trans]Choice&B[/trans]"]
865865
[
866-
./input[@type="checkbox"][@name="name[]"][@id="name_1"][not(@checked)][not(@required)][@class="foo&bar"]
866+
./input[@type="checkbox"][@name="name[]"][@id="name_1"][not(@checked)][not(@required)][@class="foo&bar form-check-input"]
867867
]
868868
]
869869
/following-sibling::div
@@ -896,7 +896,7 @@ public function testCheckedRadio()
896896
[@id="my&id"]
897897
[@type="radio"]
898898
[@name="name"]
899-
[@class="my&class"]
899+
[@class="my&class form-check-input"]
900900
[@checked="checked"]
901901
[@value="1"]
902902
]
@@ -920,7 +920,7 @@ public function testUncheckedRadio()
920920
[@id="my&id"]
921921
[@type="radio"]
922922
[@name="name"]
923-
[@class="my&class"]
923+
[@class="my&class form-check-input"]
924924
[not(@checked)]
925925
]
926926
]
@@ -945,7 +945,7 @@ public function testRadioWithValue()
945945
[@id="my&id"]
946946
[@type="radio"]
947947
[@name="name"]
948-
[@class="my&class"]
948+
[@class="my&class form-check-input"]
949949
[@value="foo&bar"]
950950
]
951951
]

0 commit comments

Comments
 (0)