diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-02 11:37:25 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-02 18:30:38 +0100 |
commit | f556c58c22405945263bc6debfa6a424e2c601cb (patch) | |
tree | 648f879e3f46214bd8e0c36f9d8b7b0971d9cbdb /apps/files_sharing/tests | |
parent | 7da3ba3f91f561da664fc601b29cd7948f876f3f (diff) | |
download | nextcloud-server-f556c58c22405945263bc6debfa6a424e2c601cb.tar.gz nextcloud-server-f556c58c22405945263bc6debfa6a424e2c601cb.zip |
remove 'send mail notification' option from sharing, replaced by send-by-mail feature
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/CapabilitiesTest.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/files_sharing/tests/CapabilitiesTest.php b/apps/files_sharing/tests/CapabilitiesTest.php index 254f7cdaa7c..3d59b1f6f34 100644 --- a/apps/files_sharing/tests/CapabilitiesTest.php +++ b/apps/files_sharing/tests/CapabilitiesTest.php @@ -188,24 +188,6 @@ class CapabilitiesTest extends \Test\TestCase { $this->assertFalse($result['public']['send_mail']); } - public function testUserSendMail() { - $map = [ - ['core', 'shareapi_enabled', 'yes', 'yes'], - ['core', 'shareapi_allow_mail_notification', 'no', 'yes'], - ]; - $result = $this->getResults($map); - $this->assertTrue($result['user']['send_mail']); - } - - public function testUserNoSendMail() { - $map = [ - ['core', 'shareapi_enabled', 'yes', 'yes'], - ['core', 'shareapi_allow_mail_notification', 'no', 'no'], - ]; - $result = $this->getResults($map); - $this->assertFalse($result['user']['send_mail']); - } - public function testResharing() { $map = [ ['core', 'shareapi_enabled', 'yes', 'yes'], |