public function CardCodeTest::providerValidCardCodeNumbers in Creditfield Form Element 8
Data provider of valid test codes. Includes variants that should pass validation.
Return value
array
File
- tests/
src/ Unit/ Element/ CardCodeTest.php, line 34
Class
- CardCodeTest
- @coversDefaultClass \Drupal\creditfield\Element\CardCode @group creditfield
Namespace
Drupal\Tests\creditfield\Unit\ElementCode
public function providerValidCardCodeNumbers() {
return [
[
'012',
],
[
'123',
],
[
'555',
],
[
'0123',
],
[
'1234',
],
];
}