mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
test: refactor StrictRules/FormatRulesTest
This commit is contained in:
parent
16736fd435
commit
5f9ba4ecfc
@ -18,14 +18,16 @@ use Tests\Support\Validation\TestRules;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @no-final
|
||||
*/
|
||||
final class FormatRulesTest extends CIUnitTestCase
|
||||
class FormatRulesTest extends CIUnitTestCase
|
||||
{
|
||||
public const ALPHABET = 'abcdefghijklmnopqrstuvwxyzABCDEFGHLIJKLMNOPQRSTUVWXYZ';
|
||||
public const ALPHANUMERIC = 'abcdefghijklmnopqrstuvwxyzABCDEFGHLIJKLMNOPQRSTUVWXYZ0123456789';
|
||||
|
||||
private Validation $validation;
|
||||
private array $config = [
|
||||
protected Validation $validation;
|
||||
protected array $config = [
|
||||
'ruleSets' => [
|
||||
Rules::class,
|
||||
FormatRules::class,
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user