Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-11 17:15:38 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-11 17:15:38 +0300
commit883848b58a50b03702eab58f67ca577037fcedab (patch)
tree3c1a1c350b5f785db7c444604f95f4fb43fe96b2 /tests/lib/Mail
parentd5dea10517bbceaf141f56b6dde0efb55fc6f4b5 (diff)
Micro-optimize validation of empty email addresses
Then we don't have to construct any validators. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Mail')
-rw-r--r--tests/lib/Mail/MailerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php
index 3ec2e96dfab..a11a1ab0914 100644
--- a/tests/lib/Mail/MailerTest.php
+++ b/tests/lib/Mail/MailerTest.php
@@ -178,6 +178,7 @@ class MailerTest extends TestCase {
['lukas@192.168.1.1', true],
['lukas@éxämplè.com', true],
['asdf', false],
+ ['', false],
['lukas@owncloud.org@owncloud.com', false],
];
}