Skip to content

Commit 72e12c0

Browse files
magento#40178: Fix Magento Health Index test check
1 parent fb71a71 commit 72e12c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Test/Unit/Model/Validator/TelephoneTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static function invalidTelephoneDataProvider(): array
148148
'message' => 'Telephone number longer than 20 characters should not be allowed'
149149
],
150150
[
151-
'telephone' => '<script>alert("xss")</script>',
151+
'telephone' => '<' . 'script>alert("xss")<' . '/script>',
152152
'message' => 'XSS attempt should not be allowed in telephone'
153153
]
154154
];

0 commit comments

Comments
 (0)