diff options
author | Louis Chemineau <louis@chmn.me> | 2023-03-16 15:41:51 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-06-28 14:01:43 +0200 |
commit | bea293487e0a08b046236af78183dabd1799b1eb (patch) | |
tree | 0e9bd7db53526ba2250528041d70d13f32b1a471 /lib | |
parent | 078f67c4422b5f94c903496d44187fa619795505 (diff) |
Modernize e2e tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/CurlService.php | 6 |
1 files changed, 3 insertions, 3 deletions
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); |