File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
app/code/Magento/PageCache
Test/Unit/Controller/Block Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ abstract class Block extends \Magento\Framework\App\Action\Action
49
49
/**
50
50
* Validation pattern for handles array
51
51
*/
52
- private const VALIDATION_RULE_PATTERN = '/^[a-z ]+[a-z0-9_]*$/i ' ;
52
+ private const VALIDATION_RULE_PATTERN = '/^[a-z0-9 ]+[a-z0-9_]*$/i ' ;
53
53
54
54
/**
55
55
* @param \Magento\Framework\App\Action\Context $context
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class EsiTest extends TestCase
69
69
/**
70
70
* Validation pattern for handles array
71
71
*/
72
- private const VALIDATION_RULE_PATTERN = '/^[a-z ]+[a-z0-9_]*$/i ' ;
72
+ private const VALIDATION_RULE_PATTERN = '/^[a-z0-9 ]+[a-z0-9_]*$/i ' ;
73
73
74
74
/**
75
75
* Set up before test
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class RenderTest extends TestCase
74
74
/**
75
75
* Validation pattern for handles array
76
76
*/
77
- private const VALIDATION_RULE_PATTERN = '/^[a-z ]+[a-z0-9_]*$/i ' ;
77
+ private const VALIDATION_RULE_PATTERN = '/^[a-z0-9 ]+[a-z0-9_]*$/i ' ;
78
78
79
79
/**
80
80
* @inheritDoc
You can’t perform that action at this time.
0 commit comments