diff options
author | Vincent Petry <pvince81@owncloud.com> | 2017-02-27 16:19:48 +0100 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-03-24 14:55:33 +0100 |
commit | 305718370a0a202dbb1848683876ff236ec9f441 (patch) | |
tree | 8793aa3f1b2b771bd832f7ed279c0967354e0fb6 /apps/encryption | |
parent | 43c081bdc9cf9cabfa29d39babb6fa6454331ebb (diff) | |
download | nextcloud-server-305718370a0a202dbb1848683876ff236ec9f441.tar.gz nextcloud-server-305718370a0a202dbb1848683876ff236ec9f441.zip |
Add tests for null user
Diffstat (limited to 'apps/encryption')
-rw-r--r-- | apps/encryption/tests/KeyManagerTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/encryption/tests/KeyManagerTest.php b/apps/encryption/tests/KeyManagerTest.php index 40def135816..c326f21e506 100644 --- a/apps/encryption/tests/KeyManagerTest.php +++ b/apps/encryption/tests/KeyManagerTest.php @@ -418,7 +418,11 @@ class KeyManagerTest extends TestCase { ['', false, 'privateKey', true], ['', false, false, ''], ['', true, 'privateKey', true], - ['', true, false, ''] + ['', true, false, ''], + [null, false, 'privateKey', true], + [null, false, false, ''], + [null, true, 'privateKey', true], + [null, true, false, ''] ]; } |