Skip to content

Commit 26a59c7

Browse files
committed
MQE-483: Sanitize test naming to prevent Jenkins build failure
- fix for codesniffer, missed phpDoc
1 parent 44428ad commit 26a59c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Magento/FunctionalTestingFramework/Test/Util/TestNameValidationUtil.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ public static function validateName($testName)
4747
}
4848
}
4949

50+
/**
51+
* Function which maps the blacklisted char to its name, function is used by the array map above.
52+
*
53+
* @param string $val
54+
* @return string
55+
*/
5056
private static function nameMapper($val)
5157
{
5258
return self::BLACKLISTED_CHAR[$val];

0 commit comments

Comments
 (0)