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

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMikael <skaramicke@gmail.com>2021-04-24 09:01:40 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-24 16:51:31 +0300
commita499b31e33e5634957a523bc830fefda618f8a86 (patch)
tree33cc56c277c64f0d3d47365df762366640c2ae40 /tests
parent3c12acfa5dc764b5d05ef116d6df0cc4b32b2176 (diff)
Add option to make email optional
Signed-off-by: Mikael <skaramicke@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Controller/RegisterControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Unit/Controller/RegisterControllerTest.php b/tests/Unit/Controller/RegisterControllerTest.php
index 0b6d875..bad9d29 100644
--- a/tests/Unit/Controller/RegisterControllerTest.php
+++ b/tests/Unit/Controller/RegisterControllerTest.php
@@ -473,6 +473,7 @@ class RegisterControllerTest extends TestCase {
self::assertSame([
'email' => $email,
+ 'email_is_optional' => false,
'email_is_login' => false,
'loginname' => $username,
'fullname' => $fullname,