', $result);
$result = $this->Form->control('created', [
'type' => 'time',
'templates' => [
- 'timeContainerError' => '
', $result);
+ $this->assertStringContainsString('
', $result);
}
}
diff --git a/tests/TestCase/View/Helper/FormHelperTest.php b/tests/TestCase/View/Helper/FormHelperTest.php
index 0996be03..a6f0707b 100644
--- a/tests/TestCase/View/Helper/FormHelperTest.php
+++ b/tests/TestCase/View/Helper/FormHelperTest.php
@@ -55,7 +55,6 @@ public function testRequiredTextControl()
'id' => 'title',
'class' => 'form-control',
'required' => 'required',
- 'aria-required' => 'true',
],
'/div',
];
@@ -85,7 +84,6 @@ public function testAddOnPrependedText()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -119,7 +117,6 @@ public function testAddOnPrependedTextMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -147,7 +144,6 @@ public function testAddOnAppendedText()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'span' => ['class' => 'input-group-text'],
'@',
@@ -178,7 +174,6 @@ public function testAddOnAppendedTextMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
['span' => ['class' => 'input-group-text']],
'$',
@@ -215,7 +210,6 @@ public function testAddOnPrependedButton()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -254,7 +248,6 @@ public function testAddOnPrependedButtonMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -282,7 +275,6 @@ public function testAddOnAppendedButton()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'button' => ['type' => 'submit', 'class' => 'btn btn-secondary'],
'GO',
@@ -318,7 +310,6 @@ public function testAddOnAppendedButtonMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
['button' => ['type' => 'submit', 'class' => 'btn btn-secondary']],
'NO',
@@ -355,7 +346,6 @@ public function testAddOnOptions()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -378,7 +368,6 @@ public function testAddOnOptions()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'span' => ['class' => 'input-group-text'],
'@',
@@ -419,7 +408,6 @@ public function testAddOnOptionsMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -446,7 +434,6 @@ public function testAddOnOptionsMultiple()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
['span' => ['class' => 'input-group-text']],
'$',
@@ -725,7 +712,6 @@ public function testCustomGridWithConstantsConfig()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -761,7 +747,6 @@ public function testCustomGridWithBasicArrayConfig()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -809,7 +794,6 @@ public function testHorizontalFormCreateFromConfig()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
'/div',
@@ -922,7 +906,6 @@ public function testTooltipWithDisabledLabel()
'oninput' => 'this.setCustomValidity('')',
'id' => 'title',
'class' => 'form-control',
- 'aria-required' => 'true',
],
'/div',
];
@@ -1353,7 +1336,6 @@ public function testPartiallyOverrideAriaAttributes()
'oninput' => 'this.setCustomValidity('')',
'class' => 'is-invalid form-control',
'required' => 'required',
- 'aria-required' => 'true',
'aria-describedby' => 'custom',
],
['div' => ['id' => 'title-error', 'class' => 'ms-0 invalid-feedback']],
diff --git a/tests/TestCase/View/Helper/Types/ClassesTest.php b/tests/TestCase/View/Helper/Types/ClassesTest.php
index 901b5569..2223cc55 100644
--- a/tests/TestCase/View/Helper/Types/ClassesTest.php
+++ b/tests/TestCase/View/Helper/Types/ClassesTest.php
@@ -15,7 +15,6 @@ class ClassesTest extends TestCase
* Test get elements
*
* @return void
- * @covers \BootstrapUI\View\Helper\Types\Classes::values
*/
public function testGetElements()
{
diff --git a/tests/TestCase/View/Helper/Types/ElementTest.php b/tests/TestCase/View/Helper/Types/ElementTest.php
index 461099de..22d352eb 100644
--- a/tests/TestCase/View/Helper/Types/ElementTest.php
+++ b/tests/TestCase/View/Helper/Types/ElementTest.php
@@ -15,7 +15,6 @@ class ElementTest extends TestCase
* Test get elements
*
* @return void
- * @covers \BootstrapUI\View\Helper\Types\Element::values
*/
public function testGetElements()
{