From 305718370a0a202dbb1848683876ff236ec9f441 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 27 Feb 2017 16:19:48 +0100 Subject: Add tests for null user --- apps/encryption/tests/KeyManagerTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps') 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, ''] ]; } -- cgit v1.2.3