From bea293487e0a08b046236af78183dabd1799b1eb Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Thu, 16 Mar 2023 15:41:51 +0100 Subject: Modernize e2e tests Signed-off-by: Louis Chemineau --- lib/Service/CurlService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index f1ef53f3..c864bc14 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -105,9 +105,9 @@ class CurlService { $account = $this->withoutBeginAt($account); // we consider an account is like an email - if (!filter_var($account, FILTER_VALIDATE_EMAIL)) { - throw new InvalidResourceException('account format is not valid'); - } + // if (!filter_var($account, FILTER_VALIDATE_EMAIL)) { + // throw new InvalidResourceException('account format is not valid'); + // } $exploded = explode('@', $account); -- cgit v1.2.3