Skip to content

Commit 6c1278c

Browse files
committed
fix tests
1 parent 85fc748 commit 6c1278c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/acceptance/TestHelpers/GraphHelper.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ public static function getEtagRegex(): string {
143143
* @return string
144144
*/
145145
public static function getFederatedUserRegex(): string {
146-
return '^[a-zA-Z_][a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]*(?:@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*(?::\d{1,5})?)?$';
146+
return '^[a-zA-Z_][a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]*'
147+
. '(?:@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?'
148+
. '(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*'
149+
. '(?::\d{1,5})?)?$';
147150
}
148151

149152
/**

0 commit comments

Comments
 (0)